Initialize project using templates.
Prerequisites:
- Git (
brew install git
) - rust (
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
) - fever (
cargo install fever
)
- Initialize rust project
$ mkdir rust-example && cd rust-example
$ fever rust init --description "Just a rust project"
$ tree .
.
├── Cargo.toml
├── LICENSE-APACHE
├── LICENSE-MIT
├── README.md
├── rust-toolchain
├── rustfmt.toml
└── src
└── main.rs
1 directory, 7 files
- Create rust project
$ fever rust new rust-example --description "Rust project"