| Crates.io | freemanke-learning-rust |
| lib.rs | freemanke-learning-rust |
| version | 0.1.0 |
| created_at | 2024-12-27 00:50:50.734974+00 |
| updated_at | 2024-12-27 00:50:50.734974+00 |
| description | Learning Rust |
| homepage | https://freemanke.com |
| repository | https://github.com/freemanke/learning-rust.git |
| max_upload_size | |
| id | 1496073 |
| size | 3,433 |
Rust 是一种预编译静态类型语言,生成的可执行文件不需要额外的运行时环境
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shrustup updatecd hello_world
cargo build
cargo run
cargo publish
Cargo 是 Rust 的构建系统和包管理器
cargo build
cargo check
cargo run
println!("This is my {}.", name);