sapling/eden/mononoke/bonsai_svnrev_mapping/Cargo.toml
Thomas Orozco 097e4ad00c mononoke: remove tokio-compat (i.e. use tokio 0.2 exclusively)
Summary:
The earlier diffs in this stack have removed all our dependencies on the Tokio
0.1 runtime environment (so, basically, `tokio-executor` and `tokio-timer`), so
we don't need this anymore.

We do still have some deps on `tokio-io`, but this is just traits + helpers,
so this doesn't actually prevent us from removing the 0.1 runtime!

Note that we still have a few transitive dependencies on Tokio 0.1:

- async-unit uses tokio-compat
- hg depends on tokio-compat too, and we depend on it in tests

This isn't the end of the world though, we can live with that :)

Reviewed By: ahornby

Differential Revision: D26544410

fbshipit-source-id: 24789be2402c3f48220dcaad110e8246ef02ecd8
2021-02-22 09:22:42 -08:00

40 lines
1.6 KiB
TOML

[package]
name = "bonsai_svnrev_mapping"
version = "0.1.0"
authors = ["Facebook"]
edition = "2018"
license = "GPLv2+"
[lib]
path = "src/lib.rs"
[[test]]
name = "bonsai_svnrev_mapping_test"
path = "test/main.rs"
[dependencies]
abomonation = "0.7"
abomonation_derive = "0.5"
anyhow = "1.0"
async-trait = "0.1.29"
auto_impl = "0.4"
bonsai_svnrev_mapping_thrift = { path = "if", version = "0.1.0" }
bytes = { version = "0.5", features = ["serde"] }
cachelib = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
caching_ext = { path = "../common/rust/caching_ext", version = "0.1.0" }
context = { path = "../server/context", version = "0.1.0" }
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
fbthrift = { git = "https://github.com/facebook/fbthrift.git", branch = "master", version = "0.0.1+unstable" }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
memcache = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
mononoke_types = { path = "../mononoke_types", version = "0.1.0" }
slog = { version = "2.5", features = ["max_level_debug"] }
sql = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master", version = "0.1.0" }
sql_construct = { path = "../common/sql_construct", version = "0.1.0" }
sql_ext = { path = "../common/rust/sql_ext", version = "0.1.0" }
thiserror = "1.0"
[dev-dependencies]
mononoke_types-mocks = { path = "../mononoke_types/mocks", version = "0.1.0" }
tokio = { version = "0.2.25", features = ["full", "test-util"] }