Crates.io | subject-classifier |
lib.rs | subject-classifier |
version | 0.4.2 |
source | src |
created_at | 2022-01-17 14:52:40.672413 |
updated_at | 2022-10-09 12:04:12.592217 |
description | Library for classifying a commit by it's subject |
homepage | |
repository | https://github.com/kalkin/rust-subject-classifier |
max_upload_size | |
id | 515605 |
size | 38,690 |
Library for classifying a commit by it's subject. Tries hard to recognize the subject type according to the commit message. Supports Conventional Commits Standard v1.0.0
use subject_classifier::Subject;
let subject = Subject::from("feat: Add a new feature XYZ");
println!("Icon: {}, scope {}, msg: {}",
subject.icon(),
subject.scope(),
subject.description);