#cargo-toml #fill #productivity #manifest #cli-tool #git-config

app cargo-fill

一个交互式 CLI 工具,可以快速填充 Cargo.toml 文件中的字段。

2 个不稳定版本

0.2.0 2023 年 10 月 3 日
0.1.0 2023 年 9 月 24 日

#403 in Cargo 插件

MIT/Apache

35KB
825

cargo-fill

Crates.io Downloads License Dependency Status

一个交互式 CLI 工具,可以快速填充 Cargo.toml 文件中的字段。

安装

cargo install cargo-fill

用法

cargo fill

功能

  • 填充 Cargo.toml 文件中 [package] 部分中所有已知字段。
  • 允许使用 cargo-msrv 来填充 rust-version 字段。
  • 允许使用 git config --get <user.name|user.email|remote.origin.url> 来猜测 authorsrepository 字段。

许可协议

根据您的选择,许可协议为 Apache 许可协议第 2.0 版或 MIT 许可协议。

依赖项

~6–15MB
~196K SLoC