3 个不稳定版本
0.1.1 | 2020 年 8 月 15 日 |
---|---|
0.1.0 | 2020 年 7 月 29 日 |
0.0.0 | 2020 年 7 月 25 日 |
28 在 #msg
每月 38 次下载
在 2 个 代码包中使用
24KB
331 代码行
traditional-commits-parser
用于解析传统提交的库。
示例
use conventional_commits_parser::parse_commit_msg;
fn main() {
let msg = "feat(parser)!: remove parsing capabilities";
let commit = parse_commit_msg(msg).expect("failed to parse commit message");
println!("{:#?}", commit);
}
当前属性
- MSRV: 1.41.0 (已测试)
许可证
根据您的选择,许可协议为
- Apache 许可协议 2.0 (LICENSE-APACHE 或 https://apache.ac.cn/licenses/LICENSE-2.0)
- MIT 许可协议 (LICENSE-MIT 或 https://opensource.org/licenses/MIT)
。
贡献
除非您明确表示,否则您有意提交的任何贡献,根据 Apache-2.0 许可协议定义,应如上所述双许可,不附加任何额外条款或条件。
依赖
~0.9–1.2MB
~22K SLoC