ref: https://doc.rust-lang.org/stable/book/title-page.html
$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
-
to initial project
$ cargo int
or
$ cargo new <project-name>
-
to build
$ cargo build
-
to run
$ cargo run
ref: https://doc.rust-lang.org/stable/book/title-page.html
$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
to initial project
$ cargo int
or
$ cargo new <project-name>
to build
$ cargo build
to run
$ cargo run