#make #cargo-toml #version #patch #increment #minor #rust

已撤回 lmake_semver

在 Cargo.toml 中增加补丁或次要版本

0.1.12 2021年8月14日
0.1.11 2020年8月22日
0.1.6 2020年4月24日
0.1.1 2020年4月23日

#14 in #minor

MIT 协议

15KB
160

lmake_semver

🔴已过时,🔴已废弃,🔴已停用!
它已被 crate cargo-auto 替换



\

版本:0.1.11 日期:2020-08-22 作者:Luciano Bestia
在 Cargo.toml 中增加补丁或次要版本。

Lines in Rust code Lines in Doc comments Lines in Comments Lines in examples Lines in tests

安装

cargoinstall lmake_semver

运行

使用以下参数运行它

lmake_semver--increment=patch
lmake_semver--increment=minor

开发

文档
https://lucianobestia.github.io/lmake_semver
为开发准备的 make 任务列表:构建、运行、文档、发布...
cargomake

cargo crev reviews and advisory

建议始终使用 cargo-crev
来验证每个依赖项(包括此依赖项)的可靠性。
请,传播此信息。
在网上使用 url 读取 crate 评论示例
<web.crev.dev/rust-reviews/crate/num-traits/>

Makefile.toml 中的任务

库使用 semver。在每次构建发布时,您可以增加补丁。

[tasks.release]
description = "cargo build release"
clear = true
dependencies = [
    "semver_increment_patch",
    "build_release",
]

[tasks.semver_increment_patch]
clear = true
private = true
description = "increment semver patch"
script= ["lmake_semver --increment=patch"]

依赖项

~2.8–4MB
~62K SLoC