mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 09:48:05 +03:00
a38ac46869
Summary: Packfiles are proving complex in several situation in order to perform well. For instance, repack are required to keep common operation from spending most of their time in scanning and iterating over the filesystem. In fact, most of the pain point with packfiles is caused by their immutability: once written, they can no longer be updated. IndexedLog on the other hand can be updated in place, and therefore do no require repacks and thus do not exhibit some of the pathological behavior that packfile are showing. As a first step, let's add a simple content store backed by indexedlog. Reviewed By: quark-zju Differential Revision: D14790070 fbshipit-source-id: 44f766db6a08169971f87a38246873c6e53c3233
30 lines
682 B
TOML
30 lines
682 B
TOML
[package]
|
|
name = "revisionstore"
|
|
version = "0.1.0"
|
|
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
for-tests = []
|
|
|
|
[dependencies]
|
|
bytes = { version = "0.4.11", features = ["serde"] }
|
|
byteorder = "1.2.7"
|
|
indexedlog = { path = "../indexedlog" }
|
|
failure = "0.1.3"
|
|
lz4-pyframe = { path = "../lz4-pyframe" }
|
|
memmap = "0.7.0"
|
|
mpatch = { path = "../mpatch" }
|
|
rust-crypto = "*"
|
|
serde = "1.0.84"
|
|
serde_derive = "1.0.84"
|
|
tempfile = "3.0.4"
|
|
types = { path = "../types" }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.6"
|
|
rand_chacha = "0.1.0"
|
|
quickcheck = "0.6.2"
|
|
types = { path = "../types", default-features = false, features = ["for-tests"] }
|