#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

#2044 in Development tools

Download history 45255/week @ 2023-12-23 56808/week @ 2023-12-30 65147/week @ 2024-01-06 64907/week @ 2024-01-13 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 72027/week @ 2024-04-06

368,271 downloads per month
Used in 141 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–14MB
~159K SLoC