#git #radicle

git-commit

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

#1294 in Cryptography

Download history 241/week @ 2023-01-25 237/week @ 2023-02-01 405/week @ 2023-02-08 323/week @ 2023-02-15 202/week @ 2023-02-22 244/week @ 2023-03-01 326/week @ 2023-03-08 418/week @ 2023-03-15 218/week @ 2023-03-22 204/week @ 2023-03-29 109/week @ 2023-04-05 132/week @ 2023-04-12 33/week @ 2023-04-19 54/week @ 2023-04-26 22/week @ 2023-05-03 8/week @ 2023-05-10

122 downloads per month

MIT/Apache and GPL-3.0-or-later

16KB
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 [Signature]s.

Dependencies

~12MB
~305K SLoC