mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
454de31134
Summary: Eventually, we want everything to be `async`/`await`; as a stepping stone in that direction, switch some of the blobstore interfaces to new-style `BoxFuture` with a `'static` lifetime. This does not enable any fixes at this point, but does mean that `.compat()` moves to the places that need old-style futures instead of new. It also means that the work needed to make the transition fully complete is changed from a full conversion to new futures, to simply changing the lifetimes involved and fixing the resulting compile failures. Reviewed By: krallin Differential Revision: D22164315 fbshipit-source-id: dc655c36db4711d84d42d1e81b76e5dddd16f59d
35 lines
1.2 KiB
TOML
35 lines
1.2 KiB
TOML
[package]
|
|
name = "blame"
|
|
edition = "2018"
|
|
version = "0.1.0"
|
|
authors = ['Facebook']
|
|
license = "GPLv2+"
|
|
include = ["*.rs"]
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
blobrepo = { path = "../../blobrepo" }
|
|
blobstore = { path = "../../blobstore" }
|
|
context = { path = "../../server/context" }
|
|
derived_data = { path = ".." }
|
|
filestore = { path = "../../filestore" }
|
|
manifest = { path = "../../manifest" }
|
|
mononoke_types = { path = "../../mononoke_types" }
|
|
unodes = { path = "../unodes" }
|
|
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
anyhow = "1.0"
|
|
bytes = { version = "0.5", features = ["serde"] }
|
|
futures = { version = "0.3", features = ["async-await", "compat"] }
|
|
futures-old = { package = "futures", version = "0.1" }
|
|
thiserror = "1.0"
|
|
|
|
[dev-dependencies]
|
|
blobrepo_factory = { path = "../../blobrepo/factory" }
|
|
tests_utils = { path = "../../tests/utils" }
|
|
async_unit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
maplit = "1.0"
|