mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 17:58:27 +03:00
d9153f1565
Summary: The initial get_data/set_data only sent the full-text to memcache, which is just enough for non-LFS data. Let's use Serde to serialize/deserialize the data that we send to memcache. This will make it simple to add checksuming, or more metadata to it. Reviewed By: DurhamG Differential Revision: D13974714 fbshipit-source-id: 41a235e1d1e8128b14f00b668745f4f9a070a360
25 lines
604 B
TOML
25 lines
604 B
TOML
[package]
|
|
name = "revisionstore"
|
|
version = "0.1.0"
|
|
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
bytes = { version = "0.4.11", features = ["serde"] }
|
|
byteorder = "1.2.7"
|
|
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.5.5"
|
|
rand_chacha = "0.1.0"
|
|
quickcheck = "0.6.2"
|
|
types = { path = "../types", default-features = false, features = ["for-tests"] }
|