#初始化 #模板 #git

app fever

使用模板初始化项目

6 个版本

0.1.5 2022年1月15日
0.1.4 2022年1月14日

#114#初始化

每月 21 次下载

MIT/Apache

20KB
296

fever

使用模板初始化项目。

先决条件

  1. Git (brew install git)
  2. rust (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)
  3. fever (cargo install fever)

用法

Rust

  1. 初始化 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
  1. 创建 rust 项目
$ fever rust new rust-example --description "Rust project"

依赖项

~12–21MB
~366K SLoC