Skip to content

Rust Template Project

License

Notifications You must be signed in to change notification settings

innomic/rust-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-demo

Install rustup

https://rustup.rs/

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

To uninstall,

$ rustup self uninstall

Create a project

$ cargo new rust-demo

or

$ mkdir rust-demo
$ cd rust-demo
$ cargo init

rustfmt

https://github.com/rust-lang/rustfmt

$ rustup component add rustfmt