rust 编程
- 安装
curl https://sh.rustup.rs -sSf | sh - 第一个程序
cargo new hello --bin - 查看项目中依赖模块的帮助文档
cargo doc --open - 入门书籍
- The Rust Programming Language, 打开本地版本
rustup docs --book - 中文翻译 https://kaisery.github.io/trpl-zh-cn/ch08-01-vectors.html
- The Rust Programming Language, 打开本地版本
其他命令
- 查看版本
rustc --version && cargo --version - 依赖包更新
cargo update - 运行
cargo build && cargo run或者cargo run