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

gix-refspec

A crate of the gitoxide project for parsing and representing refspecs

23 releases (breaking)

new 0.23.1 Jul 23, 2024
0.23.0 Mar 14, 2024
0.22.1 Feb 25, 2024
0.21.1 Dec 30, 2023
0.9.0 Mar 4, 2023

#2241 in Development tools

Download history 89128/week @ 2024-04-02 87726/week @ 2024-04-09 86064/week @ 2024-04-16 89371/week @ 2024-04-23 89193/week @ 2024-04-30 91495/week @ 2024-05-07 96421/week @ 2024-05-14 92451/week @ 2024-05-21 92647/week @ 2024-05-28 93572/week @ 2024-06-04 94217/week @ 2024-06-11 94195/week @ 2024-06-18 89780/week @ 2024-06-25 87422/week @ 2024-07-02 90577/week @ 2024-07-09 77554/week @ 2024-07-16

359,067 downloads per month
Used in 172 crates (3 directly)

MIT/Apache

155KB
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
~157K SLoC