mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
1753f5403d
Summary: Migrate most crates to tokio 1.0. The exception is edenfs-client, which has some dependencies on `//common/rust/shed/fbthrift_ext` and seems non-trivial to upgrade. It creates a separate tokio runtime so it shouldn't be affected feature-wise. Reviewed By: singhsrb Differential Revision: D26152862 fbshipit-source-id: c84c43b1b1423eabe3543bccde34cc489b7805be
38 lines
867 B
TOML
38 lines
867 B
TOML
# @generated by autocargo from //eden/scm/lib/http-client:[http-cli,http-client]
|
|
[package]
|
|
name = "http-client"
|
|
edition = "2018"
|
|
version = "0.1.0"
|
|
include = ["src/**/*.rs", "src/bin/cli.rs"]
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "http_cli"
|
|
path = "src/bin/cli.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
atty = "0.2"
|
|
curl = { version = "0.4", features = ["http2"] }
|
|
env_logger = "0.7"
|
|
futures = { version = "0.3.5", features = ["async-await", "compat"] }
|
|
http = "0.2"
|
|
once_cell = "1.4"
|
|
parking_lot = "0.10.2"
|
|
pin-project = "0.4"
|
|
regex = "1.4.2"
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
serde_cbor = "0.11"
|
|
serde_json = { version = "1.0", features = ["float_roundtrip"] }
|
|
structopt = "0.3.21"
|
|
thiserror = "1.0"
|
|
tokio = { version = "1", features = ["full", "test-util"] }
|
|
tracing = "0.1"
|
|
url = "2.1.0"
|
|
|
|
[dev-dependencies]
|
|
crossbeam = "0.7"
|
|
mockito = "0.25"
|