Cargo管理工具

创建一个项目

cargo new hello_cargo

编译项目

cargo build

运行项目

cargo run

快速检查代码

cargo check

编译发布

cargo build --release