Rust 新手尝试

打包该项目

cargo build

运行该项目

cargo run

项目构建后的二进制文件位于 target debug 里

prod 打包

cargo build --release

Rust里的包叫做 crate 包网站 crates.io