Skip to content

Commit

Permalink
third-party/rust: update futures
Browse files Browse the repository at this point in the history
Summary:
Those newer versions of Futures have compatibility improvements with Tokio,
notably:

- rust-lang/futures-rs#2333
- rust-lang/futures-rs#2358

Reviewed By: farnz

Differential Revision: D26778794

fbshipit-source-id: 5a9dc002083e5edfa5c614d8d2242e586a93fcf6
  • Loading branch information
krallin authored and facebook-github-bot committed Mar 4, 2021
1 parent e181818 commit db49178
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion shed/async_compression/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"
bytes = { version = "0.4", features = ["serde"] }
bzip2 = { version = "0.3", features = ["tokio"] }
flate2 = { version = "1.0", features = ["rust_backend", "tokio"], default-features = false }
futures = "0.1.30"
futures = "0.1.31"
tokio-io = "0.1"
zstd = "=0.5.3+zstd.1.4.5"

Expand Down
4 changes: 2 additions & 2 deletions shed/async_unit/Cargo.toml
Expand Up @@ -9,10 +9,10 @@ repository = "https://github.com/facebookexperimental/rust-shed/"
license = "MIT OR Apache-2.0"

[dependencies]
futures-preview = { package = "futures", version = "0.3.5", features = ["async-await", "compat"] }
futures-preview = { package = "futures", version = "0.3.13", features = ["async-await", "compat"] }
tokio-compat = "0.1"

[dev-dependencies]
futures = "0.1.30"
futures = "0.1.31"
tokio = { version = "0.2.25", features = ["full", "test-util"] }
tokio-old = { package = "tokio", version = "0.1" }
2 changes: 1 addition & 1 deletion shed/facet/Cargo.toml
Expand Up @@ -35,7 +35,7 @@ path = "test/static_test.rs"
anyhow = "1.0"
async-trait = "0.1.29"
facet_proc_macros = { version = "0.1.0", path = "proc_macros" }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
thiserror = "1.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/failure_ext/Cargo.toml
Expand Up @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
[dependencies]
anyhow = "1.0"
failure = "0.1"
futures = "0.1.30"
futures = "0.1.31"
slog = { version = "2.5", features = ["max_level_debug"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/fbinit/fbinit-tokio-02/Cargo.toml
Expand Up @@ -13,5 +13,5 @@ path = "lib.rs"
doc = false

[dependencies]
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
tokio = { version = "0.2.25", features = ["full", "test-util"] }
2 changes: 1 addition & 1 deletion shed/fbinit/fbinit-tokio/Cargo.toml
Expand Up @@ -11,5 +11,5 @@ license = "MIT OR Apache-2.0"
path = "lib.rs"

[dependencies]
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
tokio = { version = "1", features = ["full", "test-util"] }
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/framed/Cargo.toml
Expand Up @@ -17,5 +17,5 @@ bytes = { version = "0.5", features = ["serde"] }
tokio-util = { version = "0.3", features = ["codec", "udp"] }

[dev-dependencies]
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
tokio = { version = "0.2.25", features = ["full", "test-util"] }
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/socket/Cargo.toml
Expand Up @@ -17,7 +17,7 @@ bytes = { version = "0.5", features = ["serde"] }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "master" }
fbthrift_framed = { version = "0.1.0", path = "../framed" }
fbthrift_util = { version = "0.1.0", path = "../util" }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
tokio = { version = "0.2.25", features = ["full", "test-util"] }
tokio-tower = "0.4"
tokio-util = { version = "0.3", features = ["codec", "udp"] }
Expand Down
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/tcp/Cargo.toml
Expand Up @@ -17,7 +17,7 @@ bytes = { version = "0.5", features = ["serde"] }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "master" }
fbthrift_framed = { version = "0.1.0", path = "../framed" }
fbthrift_util = { version = "0.1.0", path = "../util" }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
tokio = { version = "0.2.25", features = ["full", "test-util"] }
tokio-tower = "0.4"
tokio-util = { version = "0.3", features = ["codec", "udp"] }
Expand Down
2 changes: 1 addition & 1 deletion shed/futures_01_ext/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
bytes-old = { package = "bytes", version = "0.4", features = ["serde"] }
futures = "0.1.30"
futures = "0.1.31"
tokio-io = "0.1"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/futures_ext/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0"
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
pin-project = "0.4"
shared_error = { version = "0.1.0", path = "../shared_error" }
thiserror = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions shed/futures_stats/Cargo.toml
Expand Up @@ -13,8 +13,8 @@ name = "futures_stats_test"
path = "test/main.rs"

[dependencies]
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1.30" }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1.31" }
futures_ext = { package = "futures_01_ext", version = "0.1.0", path = "../futures_01_ext" }
tokio-old = { package = "tokio", version = "0.1" }

Expand Down
2 changes: 1 addition & 1 deletion shed/limited_async_read/Cargo.toml
Expand Up @@ -12,4 +12,4 @@ license = "MIT OR Apache-2.0"
tokio-io = "0.1"

[dev-dependencies]
futures = "0.1.30"
futures = "0.1.31"
2 changes: 1 addition & 1 deletion shed/memcache_stub/common/Cargo.toml
Expand Up @@ -14,4 +14,4 @@ path = "lib.rs"
anyhow = "1.0"
bytes = { version = "0.5", features = ["serde"] }
fbinit = { version = "0.1.0", path = "../../fbinit" }
futures = "0.1.30"
futures = "0.1.31"
2 changes: 1 addition & 1 deletion shed/sql/Cargo.toml
Expand Up @@ -11,7 +11,7 @@ license = "MIT OR Apache-2.0"
[dependencies]
anyhow = "1.0"
cloned = { version = "0.1.0", path = "../cloned" }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
futures-util = "0.3.7"
futures_ext = { version = "0.1.0", path = "../futures_ext" }
mysql_async = "0.23"
Expand Down
4 changes: 2 additions & 2 deletions shed/sql/common/Cargo.toml
Expand Up @@ -15,8 +15,8 @@ path = "lib.rs"
anyhow = "1.0"
auto_impl = "0.4"
failure_ext = { version = "0.1.0", path = "../../failure_ext" }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1.30" }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
futures-old = { package = "futures", version = "0.1.31" }
futures_ext = { package = "futures_01_ext", version = "0.1.0", path = "../../futures_01_ext" }
futures_stats = { version = "0.1.0", path = "../../futures_stats" }
lazy_static = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion shed/stats/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
fbinit = { version = "0.1.0", path = "../fbinit" }
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
lazy_static = "1.0"
perthread = { version = "0.1.0", path = "../perthread" }
stats_traits = { version = "0.1.0", path = "traits" }
Expand Down
2 changes: 1 addition & 1 deletion shed/tokio_shim/Cargo.toml
Expand Up @@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0"
futures = { version = "0.3.5", features = ["async-await", "compat"] }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
pin-project = "0.4"
thiserror = "1.0"
tokio_02 = { package = "tokio", version = "0.2.25", features = ["full", "test-util"] }
Expand Down

0 comments on commit db49178

Please sign in to comment.