27 releases (breaking)

new 0.61.0 May 22, 2024
0.59.0 Mar 14, 2024
0.56.1 Dec 30, 2023
0.54.0 Oct 12, 2023
0.43.1 Mar 30, 2023

#96 in Database interfaces

Download history 79302/week @ 2024-02-02 78009/week @ 2024-02-09 81348/week @ 2024-02-16 82595/week @ 2024-02-23 89343/week @ 2024-03-01 83386/week @ 2024-03-08 96455/week @ 2024-03-15 96022/week @ 2024-03-22 89969/week @ 2024-03-29 84999/week @ 2024-04-05 87819/week @ 2024-04-12 87702/week @ 2024-04-19 89602/week @ 2024-04-26 93255/week @ 2024-05-03 100033/week @ 2024-05-10 76671/week @ 2024-05-17

373,507 downloads per month
Used in 151 crates (2 directly)

MIT/Apache

1MB
19K 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

~8–19MB
~276K SLoC