mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
03d4e52ab3
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
37 lines
1.3 KiB
TOML
37 lines
1.3 KiB
TOML
[package]
|
|
name = "bonsai_globalrev_mapping"
|
|
edition = "2018"
|
|
version = "0.1.0"
|
|
authors = ['Facebook']
|
|
license = "GPLv2+"
|
|
include = ["schemas/**/*.sql", "src/**/*.rs", "test/**/*.rs"]
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "bonsai_globalrev_mapping_test"
|
|
path = "test/main.rs"
|
|
|
|
[dependencies]
|
|
context = { path = "../server/context" }
|
|
mercurial_types = { path = "../mercurial/types" }
|
|
mononoke_types = { path = "../mononoke_types" }
|
|
sql_construct = { path = "../common/sql_construct" }
|
|
sql_ext = { path = "../common/rust/sql_ext" }
|
|
cloned = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
futures_ext = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
sql = { 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" }
|
|
slog = { version="2.5", features=["max_level_debug"] }
|
|
thiserror = "1.0"
|
|
|
|
[dev-dependencies]
|
|
mercurial_types-mocks = { path = "../mercurial/types/mocks" }
|
|
mononoke_types-mocks = { path = "../mononoke_types/mocks" }
|
|
fbinit = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
|
|
assert_matches = "1.3"
|
|
tokio = { version = "=0.2.13", features = ["full"] }
|