#parser #conventional-commits #commit #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

#25 in #msg


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.8–1.1MB
~21K SLoC