49 releases (breaking)

0.40.1 Jan 10, 2023
0.39.0 Dec 30, 2022
0.37.0 Nov 21, 2022
0.31.0 Jul 22, 2022
0.1.0 Jul 12, 2020

#17 in Database implementations

Download history 2808/week @ 2022-10-13 2705/week @ 2022-10-20 2142/week @ 2022-10-27 3517/week @ 2022-11-03 3403/week @ 2022-11-10 3445/week @ 2022-11-17 2779/week @ 2022-11-24 4666/week @ 2022-12-01 4457/week @ 2022-12-08 4401/week @ 2022-12-15 3308/week @ 2022-12-22 4689/week @ 2022-12-29 6714/week @ 2023-01-05 5467/week @ 2023-01-12 4866/week @ 2023-01-19 4199/week @ 2023-01-26

21,889 downloads per month
Used in 17 crates (via git-repository)

MIT/Apache

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

~6–12MB
~191K SLoC