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
24KB
331 lines
conventional-commits-parser
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
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
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