#radicle #git

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

#28 in #radicle

Download history 2/week @ 2026-02-08 35/week @ 2026-02-15 27/week @ 2026-02-22 85/week @ 2026-03-01 267/week @ 2026-03-08 417/week @ 2026-03-15 427/week @ 2026-03-22 1869/week @ 2026-03-29 430/week @ 2026-04-05 373/week @ 2026-04-12 767/week @ 2026-04-19 716/week @ 2026-04-26 663/week @ 2026-05-03 435/week @ 2026-05-10 503/week @ 2026-05-17 330/week @ 2026-05-24

2,050 downloads per month

MIT/Apache and GPL-3.0-or-later

17KB
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.

Dependencies

~12MB
~269K SLoC