Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kalkin/rust-subject-classifier
https://github.com/kalkin/rust-subject-classifier
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kalkin/rust-subject-classifier
- Owner: kalkin
- License: lgpl-3.0
- Created: 2022-01-17T14:25:11.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-09T12:04:07.000Z (about 2 years ago)
- Last Synced: 2024-10-08T01:17:38.389Z (29 days ago)
- Language: Rust
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING.LESSER
Awesome Lists containing this project
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](https://www.conventionalcommits.org/en/v1.0.0)```rust
use subject_classifier::Subject;let subject = Subject::from("feat: Add a new feature XYZ");
println!("Icon: {}, scope {}, msg: {}",
subject.icon(),
subject.scope(),
subject.description);
```