mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
b1c85aaf4b
Summary: Eventually, we want everything to be `async`/`await`; as a stepping stone in that direction, switch the remaining lobstore traits to new-style futures. This just pushes the `.compat()` out to old-style futures, but it makes the move to non-'static lifetimes easier, as all the compile errors will relate to lifetime issues. Reviewed By: krallin Differential Revision: D22183228 fbshipit-source-id: 3fe3977f4469626f55cbf5636d17fff905039827
37 lines
1.0 KiB
TOML
37 lines
1.0 KiB
TOML
[package]
|
|
name = "blobstore"
|
|
edition = "2018"
|
|
version = "0.1.0"
|
|
authors = ['Facebook']
|
|
license = "GPLv2+"
|
|
include = ["src/**/*.rs", "test/**/*.rs"]
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "blobstore_test"
|
|
path = "test/main.rs"
|
|
|
|
[dependencies]
|
|
context = { path = "../server/context" }
|
|
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
abomonation = "0.7"
|
|
abomonation_derive = "0.5"
|
|
anyhow = "1.0"
|
|
auto_impl = { git = "https://github.com/auto-impl-rs/auto_impl", rev = "43ad0ed49f67168b2971b271481e75afac589b24" }
|
|
bytes = { version = "0.5", features = ["serde"] }
|
|
futures = { version = "0.3", features = ["async-await", "compat"] }
|
|
futures-old = { package = "futures", version = "0.1" }
|
|
thiserror = "1.0"
|
|
zstd = "=0.4.23"
|
|
|
|
[dev-dependencies]
|
|
cacheblob = { path = "cacheblob" }
|
|
fileblob = { path = "fileblob" }
|
|
memblob = { path = "memblob" }
|
|
mononoke_types = { path = "../mononoke_types" }
|
|
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
tempdir = "0.3"
|
|
tokio-compat = "0.1"
|