34 releases (breaking)

0.67.0 Jan 18, 2025
0.66.0 Dec 22, 2024
0.65.0 Nov 24, 2024
0.61.1 Jul 23, 2024
0.43.1 Mar 30, 2023

#108 in Database interfaces

Download history 101813/week @ 2024-10-29 107061/week @ 2024-11-05 107829/week @ 2024-11-12 121437/week @ 2024-11-19 122642/week @ 2024-11-26 139514/week @ 2024-12-03 138041/week @ 2024-12-10 129175/week @ 2024-12-17 92143/week @ 2024-12-24 109935/week @ 2024-12-31 147813/week @ 2025-01-07 148354/week @ 2025-01-14 142916/week @ 2025-01-21 141713/week @ 2025-01-28 155871/week @ 2025-02-04 163797/week @ 2025-02-11

630,939 downloads per month
Used in 226 crates (2 directly)

MIT/Apache

1MB
20K SLoC

Git stores all of its data as Objects, which are data along with a hash over all data. Thus it's an object store indexed by the signature of data itself with inherent deduplication: the same data will have the same hash, and thus occupy the same space within the store.

There is only one all-round object store, also known as the Store, as it supports everything most of what git has to offer.

  • loose object reading and writing
  • access to packed objects
  • multiple loose objects and pack locations as gathered from alternates files.

Feature Flags

Dependencies

~11–21MB
~321K SLoC