1
0
Fork
You've already forked mit-commit
0
A library to parse commit messages in git hooks
Rust 99.7%
Just 0.3%
Solace System Renovate Fox e30d8013cc
Some checks failed
ci/woodpecker/push/lint/1 Pipeline was successful
ci/woodpecker/push/lint/3 Pipeline was successful
ci/woodpecker/push/lint/2 Pipeline was successful
ci/woodpecker/push/fix unknown status
ci/woodpecker/push/test/1 Pipeline was successful
ci/woodpecker/push/test/2 Pipeline was successful
ci/woodpecker/push/test/3 Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
Merge pull request 'chore(deps): update rust docker digest to 087fe68' ( #153 ) from renovate/rust into main
2025年11月06日 00:08:23 +01:00
.idea refactor: Refactor lifetimes to use implicit '_ where applicable 2025年01月28日 09:27:59 +01:00
.woodpecker chore(deps): update rust docker digest to 087fe68 2025年11月05日 21:02:53 +00:00
benches refactor: formatting 2025年05月05日 08:36:30 +02:00
src build: remove duplicate lint 2025年11月01日 13:20:38 +01:00
tests refactor: formatting 2025年05月05日 08:36:30 +02:00
.fastconventional.yaml style(yamlfix): apply auto-fixes 2025年10月06日 06:58:57 +00:00
.gitignore chore: Update .gitignore and renovate.json config 2025年05月10日 23:23:39 +02:00
.mergify.yml style(yamlfix): apply auto-fixes 2025年10月06日 06:58:57 +00:00
Cargo.toml chore(deps): update rust crate criterion to 0.7.0 2025年07月25日 20:02:44 +00:00
CHANGELOG.md chore(version): v3.3.1 [skip ci] 2025年06月17日 05:32:24 +00:00
cliff.toml docs: Improve readme template 2021年09月19日 10:10:46 +02:00
cog.toml chore: update cog.toml configuration for branch whitelist and hooks 2025年10月07日 09:45:29 +02:00
Justfile refactor: formatting 2025年05月05日 08:36:30 +02:00
LICENSE.md docs: Format license and readme 2021年09月19日 10:12:39 +02:00
README.md chore: Update repository links to Codeberg and bump version 2025年05月15日 23:28:43 +02:00
renovate.json ci: migrate workflow from GitHub to Forgejo 2025年05月15日 23:28:43 +02:00

mit-commit

A library to parse commit messages in git hooks

useindoc::indoc;usemit_commit::{Bodies,CommitMessage,Subject};letmessage=CommitMessage::from(indoc!("
 Update bashrc to include kubernetes completions
 This should make it easier to deploy things for the developers.
 Benchmarked with Hyperfine, no noticable performance decrease.
 ; Bitte geben Sie eine Commit-Beschreibung f\u{00FC}r Ihre \u{00E4}nderungen ein. Zeilen,
 ; die mit ';' beginnen, werden ignoriert, und eine leere Beschreibung
 ; bricht den Commit ab.
 ;
 ; Datum: Sat Jun 27 21:40:14 2020 +0200
 ;
 ; Auf Branch master
 ;
 ; Initialer Commit
 ;
 ; Zum Commit vorgemerkte \u{00E4}nderungen:
 ; neue Datei: .bashrc
 ;"));assert_eq!(message.get_subject(),Subject::from("Update bashrc to include kubernetes completions"))

Read more at Docs.rs or visit the Codeberg repository