31 releases (breaking)

new 0.64.0 Oct 22, 2024
0.62.0 Aug 22, 2024
0.61.1 Jul 23, 2024
0.59.0 Mar 14, 2024
0.43.1 Mar 30, 2023

#132 in Database interfaces

Download history 91057/week @ 2024-07-04 92317/week @ 2024-07-11 92743/week @ 2024-07-18 103687/week @ 2024-07-25 93317/week @ 2024-08-01 94876/week @ 2024-08-08 90964/week @ 2024-08-15 88946/week @ 2024-08-22 87929/week @ 2024-08-29 107524/week @ 2024-09-05 96899/week @ 2024-09-12 90292/week @ 2024-09-19 97439/week @ 2024-09-26 97881/week @ 2024-10-03 102353/week @ 2024-10-10 90551/week @ 2024-10-17

403,243 downloads per month
Used in 191 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

~10–20MB
~282K SLoC