6 个版本
0.1.5 | 2022年1月15日 |
---|---|
0.1.4 | 2022年1月14日 |
#114 在 #初始化
每月 21 次下载
20KB
296 行
fever
使用模板初始化项目。
先决条件
- Git (
brew install git
) - rust (
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
) - fever (
cargo install fever
)
用法
Rust
- 初始化 rust 项目
$ 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
- 创建 rust 项目
$ fever rust new rust-example --description "Rust project"
依赖项
~12–21MB
~366K SLoC