subject-classifier

Crates.iosubject-classifier
lib.rssubject-classifier
version0.4.2
sourcesrc
created_at2022-01-17 14:52:40.672413
updated_at2022-10-09 12:04:12.592217
descriptionLibrary for classifying a commit by it's subject
homepage
repositoryhttps://github.com/kalkin/rust-subject-classifier
max_upload_size
id515605
size38,690
Bahtiar Gadimov (kalkin)

documentation

README

Subject Classifier

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);
Commit count: 68

cargo fmt