cargo管理 Rust 專案及其模組相依項(crates)。 此命令也有關於其子命令的文件,例如:
build. 更多資訊:https://doc.rust-lang.org/stable/cargo/。
cargo search {{搜尋關鍵詞}}
cargo install {{套件名}}
cargo install --list
cargo init --{{bin|lib}} {{路徑/至/目錄}}
Cargo.toml 新增一個相依項:cargo add {{相依項}}
cargo {{[b|build]}} {{[-r|--release]}}
rustup):cargo +nightly {{[b|build]}}
cargo {{[b|build]}} {{[-j|--jobs]}} {{執行緒數}}