sapling/eden/mononoke/bonsai_git_mapping/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

35 lines
1.1 KiB
TOML

[package]
name = "bonsai_git_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_git_mapping_test"
path = "test/main.rs"
[dependencies]
context = { path = "../server/context" }
mononoke_types = { path = "../mononoke_types" }
sql_construct = { path = "../common/sql_construct" }
sql_ext = { path = "../common/rust/sql_ext" }
sql = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
stats = { git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
anyhow = "1.0"
ascii = "1.0"
async-trait = "0.1.29"
futures = { version = "0.3", features = ["async-await", "compat"] }
slog = { version="2.5", features=["max_level_debug"] }
thiserror = "1.0"
[dev-dependencies]
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"] }