#git #parser #version-control #target #represents #list #refspecs

gix-refspec

A crate of the gitoxide project for parsing and representing refspecs

22 releases (breaking)

0.23.0 Mar 14, 2024
0.22.0 Jan 20, 2024
0.21.1 Dec 30, 2023
0.19.0 Oct 12, 2023
0.9.0 Mar 4, 2023

#1766 in Development tools

Download history 74409/week @ 2024-01-20 72539/week @ 2024-01-27 80886/week @ 2024-02-03 78115/week @ 2024-02-10 81740/week @ 2024-02-17 84085/week @ 2024-02-24 87337/week @ 2024-03-02 86282/week @ 2024-03-09 98786/week @ 2024-03-16 92587/week @ 2024-03-23 90263/week @ 2024-03-30 84380/week @ 2024-04-06 87572/week @ 2024-04-13 87290/week @ 2024-04-20 88489/week @ 2024-04-27 92520/week @ 2024-05-04

369,062 downloads per month
Used in 147 crates (3 directly)

MIT/Apache

140KB
3K SLoC

gix-refspec

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:

Parse git ref-specs and represent them.

Dependencies

~6–13MB
~158K SLoC