#conventional-commits #commit #parser #specification #msg

conventional-commits-parser

A parser for the conventional commits specification

3 unstable releases

0.1.1 Aug 15, 2020
0.1.0 Jul 29, 2020
0.0.0 Jul 25, 2020

#28 in #msg

Download history 3/week @ 2024-02-19 19/week @ 2024-02-26 10/week @ 2024-03-11 50/week @ 2024-04-01

60 downloads per month
Used in 2 crates

MIT/Apache

24KB
331 lines

conventional-commits-parser

Maintenance crates.io crates.io Documentation docs_master_badge

A library for parsing conventional commits.

Example

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);
}

Current Properties

  • MSRV: 1.41.0 (tested)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.7–1MB
~19K SLoC