To compile use:
rustc 001-hello/main.rs
./main
Go need 9 years to manage deps properly ;) In rust you want to use Cargo:
cargo new some-service
cd some-service
cargo run
If you add --lib
cargo will generate new library project.
To compile use:
rustc 001-hello/main.rs
./main
Go need 9 years to manage deps properly ;) In rust you want to use Cargo:
cargo new some-service
cd some-service
cargo run
If you add --lib
cargo will generate new library project.