我正在经历Rust的开始,我需要Cargo.toml
在我的系统上获得箱子.我不是做货物包装的东西(例如创造Cargo.toml
),因为我对语言感兴趣,而不是包装.
我可以cargo
在某种程度上在我的系统上安装库而无需定义Cargo.toml
使用Cargo.toml
命令吗?
$ cargo install rand
Updating registry `https://github.com/rust-lang/crates.io-index`
specified package has no binaries
Run Code Online (Sandbox Code Playgroud)