#git #commit #radicle #header #parser #displaying #signature


A small library for parsing, displaying and creating a git commit

3 releases (breaking)

0.3.0 Feb 9, 2023
0.2.0 Nov 4, 2022
0.1.0 Nov 4, 2022

#17 in #displaying

MIT/Apache and GPL-3.0-or-later

382 lines

The git-commit crate provides parsing a displaying of a git commit.

The Commit data can be constructed using the FromStr implementation, or by converting from a git2::Buf.

The Headers can be accessed via Commit::headers. If the signatures of the commit are of particular interest, the Commit::signatures method can be used, which returns a series of Signatures.


~313K SLoC