#git #version-control #specification #revision #parser #name #finding

gix-revision

A crate of the gitoxide project dealing with finding names for revisions and parsing specifications

26 releases (17 breaking)

0.27.0 Mar 14, 2024
0.26.0 Jan 20, 2024
0.25.1 Dec 30, 2023
0.23.0 Oct 12, 2023
0.12.1 Mar 26, 2023

#1609 in Development tools

Download history 74384/week @ 2024-01-19 71597/week @ 2024-01-26 79348/week @ 2024-02-02 78194/week @ 2024-02-09 81668/week @ 2024-02-16 83318/week @ 2024-02-23 89584/week @ 2024-03-01 83458/week @ 2024-03-08 96597/week @ 2024-03-15 96140/week @ 2024-03-22 90252/week @ 2024-03-29 85148/week @ 2024-04-05 86783/week @ 2024-04-12 86701/week @ 2024-04-19 88746/week @ 2024-04-26 92106/week @ 2024-05-03

369,623 downloads per month
Used in 148 crates (2 directly)

MIT/Apache

305KB
6.5K SLoC

gix-revision

Testing

Fuzzing

cargo fuzz is used for fuzzing, installable with cargo install cargo-fuzz.

Targets can be listed with cargo fuzz list and executed via cargo +nightly fuzz run <target>, where <target> can be parse for example.


lib.rs:

Interact with git revisions by parsing them from rev-specs and describing them in terms of reference names.

Feature Flags

Dependencies

~6–13MB
~154K SLoC