sapling/eden/mononoke/blobrepo/Cargo.toml
Gabriel Russo 03d4e52ab3 Bump tokio to 0.2.13
Summary:
This is needed because the tonic crate (see the diff stack) relies on tokio ^0.2.13

We can't go to a newer version because a bug that affects mononoke was introduced on 0.2.14 (discussion started on T65261126). The issue was reported upstream https://github.com/tokio-rs/tokio/issues/2390

This diff simply changed the version number on `fbsource/third-party/rust/Cargo.toml` and ran `fbsource/third-party/rust/reindeer/vendor`.

Also ran `buck run //common/rust/cargo_from_buck:cargo_from_buck` to fix the tokio version on generated cargo files

Reviewed By: krallin

Differential Revision: D21043344

fbshipit-source-id: e61797317a581aa87a8a54e9e2ae22655f22fb97
2020-04-15 12:18:00 -07:00

72 lines
2.9 KiB
TOML

[package]
name = "blobrepo"
edition = "2018"
version = "0.1.0"
authors = ['Facebook']
license = "GPLv2+"
include = ["src/**/*.rs", "test/**/*.rs"]
[lib]
path = "src/lib.rs"
[[test]]
name = "blobrepo_test"
path = "test/main.rs"
[dependencies]
blobrepo_errors = { path = "errors" }
blobstore = { path = "../blobstore" }
bonsai_git_mapping = { path = "../bonsai_git_mapping" }
bonsai_globalrev_mapping = { path = "../bonsai_globalrev_mapping" }
bonsai_hg_mapping = { path = "../bonsai_hg_mapping" }
bookmarks = { path = "../bookmarks" }
cacheblob = { path = "../blobstore/cacheblob" }
changeset_fetcher = { path = "changeset_fetcher" }
changesets = { path = "../changesets" }
context = { path = "../server/context" }
filenodes = { path = "../filenodes" }
filestore = { path = "../filestore" }
manifest = { path = "../manifest" }
mercurial_types = { path = "../mercurial/types" }
metaconfig_types = { path = "../metaconfig/types" }
mononoke_types = { path = "../mononoke_types" }
phases = { path = "../phases" }
repo_blobstore = { path = "repo_blobstore" }
scuba_ext = { path = "../common/scuba_ext" }
topo_sort = { path = "../common/topo_sort" }
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
failure_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures_stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
time_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
tracing = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
anyhow = "1.0"
futures = { version = "0.3", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1" }
futures-util = "0.3"
maplit = "1.0"
slog = { version="2.5", features=["max_level_debug"] }
thiserror = "1.0"
tokio = { version = "=0.2.13", features = ["full"] }
uuid = { version = "0.8.1", features=["v4"] }
[dev-dependencies]
benchmark_lib = { path = "../benchmark" }
blobrepo_factory = { path = "factory" }
cmdlib = { path = "../cmdlib" }
fixtures = { path = "../tests/fixtures" }
memblob = { path = "../blobstore/memblob" }
mercurial_types-mocks = { path = "../mercurial/types/mocks" }
mononoke_types-mocks = { path = "../mononoke_types/mocks" }
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" }
ascii = "1.0"
assert_matches = "1.3"
bytes = { version = "0.5", features = ["serde"] }
rand = { version = "0.7", features = ["small_rng"] }
rand_distr = "0.2"
rand_xorshift = "0.2"
tokio-compat = "0.1"