sapling/eden/mononoke/phases/Cargo.toml
Thomas Orozco 06b6e35a85 mononoke/phases: update to futures 0.3 get_or_fill
Summary:
Like it says in the title. The upshot here as well is a lot less cloning.

While in there, I removed the "caching" module since it basically only
contained a couple of things that were all needed in the sql module anyway.

Reviewed By: StanislavGlebik

Differential Revision: D25396208

fbshipit-source-id: aa6381c78f45a94fecd04544196180d2a918f97d
2020-12-10 10:24:58 -08:00

50 lines
1.9 KiB
TOML

[package]
name = "phases"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
autotests = false
include = ["schemas/**/*.sql", "src/**/*.rs", "tests/src/**/*.rs"]
[lib]
path = "src/lib.rs"
[[test]]
name = "tests"
path = "tests/src/main.rs"
[dependencies]
caching_ext = { path = "../common/rust/caching_ext" }
changeset_fetcher = { path = "../blobrepo/changeset_fetcher" }
context = { path = "../server/context" }
mononoke_types = { path = "../mononoke_types" }
sql_construct = { path = "../common/sql_construct" }
sql_ext = { path = "../common/rust/sql_ext" }
cachelib = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
memcache = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
sql = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
abomonation = "0.7"
abomonation_derive = "0.5"
anyhow = "1.0"
ascii = "1.0"
async-trait = "0.1.29"
bytes = { version = "0.5", features = ["serde"] }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
maplit = "1.0"
thiserror = "1.0"
[dev-dependencies]
blobrepo = { path = "../blobrepo" }
blobrepo_hg = { path = "../blobrepo/blobrepo_hg" }
bookmarks = { path = "../bookmarks" }
fixtures = { path = "../tests/fixtures" }
mercurial_types = { path = "../mercurial/types" }
mononoke_types-mocks = { path = "../mononoke_types/mocks" }
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures_ext = { package = "futures_01_ext", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures-old = { package = "futures", version = "0.1" }
tokio-compat = "0.1"