Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit c8dd406

Browse files
authored
Update to futures 0.3.9 (#7854)
1 parent df287fe commit c8dd406

File tree

26 files changed

+121
-121
lines changed

26 files changed

+121
-121
lines changed

Cargo.lock

Lines changed: 96 additions & 96 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/node/browser-testing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ serde_json = "1.0.48"
1515
wasm-bindgen = { version = "=0.2.69", features = ["serde-serialize"] }
1616
wasm-bindgen-futures = "0.4.18"
1717
wasm-bindgen-test = "0.3.18"
18-
futures = "0.3.4"
18+
futures = "0.3.9"
1919

2020
node-cli = { path = "../cli", default-features = false, features = ["browser"] , version = "2.0.0"}
2121
sc-rpc-api = { path = "../../../client/rpc-api" , version = "0.8.0"}

bin/node/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ sc-consensus = { version = "0.8.0", path = "../../../client/consensus/common" }
117117
sc-consensus-babe = { version = "0.8.0", features = ["test-helpers"], path = "../../../client/consensus/babe" }
118118
sc-consensus-epochs = { version = "0.8.0", path = "../../../client/consensus/epochs" }
119119
sc-service-test = { version = "2.0.0", path = "../../../client/service/test" }
120-
futures = "0.3.4"
120+
futures = "0.3.9"
121121
tempfile = "3.1.0"
122122
assert_cmd = "1.0"
123123
nix = "0.17"

client/authority-discovery/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async-trait = "0.1"
2121
codec = { package = "parity-scale-codec", default-features = false, version = "1.3.4" }
2222
derive_more = "0.99.2"
2323
either = "1.5.3"
24-
futures = "0.3.4"
24+
futures = "0.3.9"
2525
futures-timer = "3.0.1"
2626
libp2p = { version = "0.33.0", default-features = false, features = ["kad"] }
2727
log = "0.4.8"

client/basic-authorship/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1414

1515
[dependencies]
1616
codec = { package = "parity-scale-codec", version = "1.3.4" }
17-
futures = "0.3.4"
17+
futures = "0.3.9"
1818
futures-timer = "3.0.1"
1919
log = "0.4.8"
2020
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../utils/prometheus", version = "0.8.0"}

client/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ log = "0.4.11"
1717
atty = "0.2.13"
1818
regex = "1.4.2"
1919
tokio = { version = "0.2.21", features = [ "signal", "rt-core", "rt-threaded", "blocking" ] }
20-
futures = "0.3.4"
20+
futures = "0.3.9"
2121
fdlimit = "0.2.1"
2222
libp2p = "0.33.0"
2323
parity-scale-codec = "1.3.0"

client/consensus/aura/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ sc-client-api = { version = "2.0.0", path = "../../api" }
2121
codec = { package = "parity-scale-codec", version = "1.3.4" }
2222
sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common" }
2323
derive_more = "0.99.2"
24-
futures = "0.3.4"
24+
futures = "0.3.9"
2525
futures-timer = "3.0.1"
2626
sp-inherents = { version = "2.0.0", path = "../../../primitives/inherents" }
2727
log = "0.4.8"

client/consensus/babe/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ sp-runtime = { version = "2.0.0", path = "../../../primitives/runtime" }
4242
sp-utils = { version = "2.0.0", path = "../../../primitives/utils" }
4343
fork-tree = { version = "2.0.0", path = "../../../utils/fork-tree" }
4444
prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../../../utils/prometheus", version = "0.8.0"}
45-
futures = "0.3.4"
45+
futures = "0.3.9"
4646
futures-timer = "3.0.1"
4747
parking_lot = "0.11.1"
4848
log = "0.4.8"

client/consensus/manual-seal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1414

1515
[dependencies]
1616
derive_more = "0.99.2"
17-
futures = "0.3.4"
17+
futures = "0.3.9"
1818
jsonrpc-core = "15.1.0"
1919
jsonrpc-core-client = "15.1.0"
2020
jsonrpc-derive = "15.1.0"

client/consensus/slots/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ sp-api = { version = "2.0.0", path = "../../../primitives/api" }
2828
sc-telemetry = { version = "2.0.0", path = "../../telemetry" }
2929
sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common" }
3030
sp-inherents = { version = "2.0.0", path = "../../../primitives/inherents" }
31-
futures = "0.3.4"
31+
futures = "0.3.9"
3232
futures-timer = "3.0.1"
3333
parking_lot = "0.11.1"
3434
log = "0.4.11"

client/finality-grandpa/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1717
[dependencies]
1818
derive_more = "0.99.2"
1919
fork-tree = { version = "2.0.0", path = "../../utils/fork-tree" }
20-
futures = "0.3.4"
20+
futures = "0.3.9"
2121
futures-timer = "3.0.1"
2222
log = "0.4.8"
2323
parking_lot = "0.11.1"

client/informant/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1414

1515
[dependencies]
1616
ansi_term = "0.12.1"
17-
futures = "0.3.4"
17+
futures = "0.3.9"
1818
log = "0.4.8"
1919
parity-util-mem = { version = "0.8.0", default-features = false, features = ["primitive-types"] }
2020
sc-client-api = { version = "2.0.0", path = "../api" }

client/keystore/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1717
[dependencies]
1818
async-trait = "0.1.30"
1919
derive_more = "0.99.2"
20-
futures = "0.3.4"
20+
futures = "0.3.9"
2121
futures-util = "0.3.4"
2222
sp-application-crypto = { version = "2.0.0", path = "../../primitives/application-crypto" }
2323
sp-core = { version = "2.0.0", path = "../../primitives/core" }

client/network-gossip/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1515

1616

1717
[dependencies]
18-
futures = "0.3.4"
18+
futures = "0.3.9"
1919
futures-timer = "3.0.1"
2020
libp2p = { version = "0.33.0", default-features = false }
2121
log = "0.4.8"

client/network/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ either = "1.5.3"
2828
erased-serde = "0.3.9"
2929
fnv = "1.0.6"
3030
fork-tree = { version = "2.0.0", path = "../../utils/fork-tree" }
31-
futures = "0.3.4"
31+
futures = "0.3.9"
3232
futures-timer = "3.0.2"
3333
futures_codec = "0.4.0"
3434
hex = "0.4.0"

client/network/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async-std = "1.6.5"
1717
sc-network = { version = "0.8.0", path = "../" }
1818
log = "0.4.8"
1919
parking_lot = "0.11.1"
20-
futures = "0.3.4"
20+
futures = "0.3.9"
2121
futures-timer = "3.0.1"
2222
rand = "0.7.2"
2323
libp2p = { version = "0.33.0", default-features = false }

client/offchain/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bytes = "0.5"
1717
sc-client-api = { version = "2.0.0", path = "../api" }
1818
sp-api = { version = "2.0.0", path = "../../primitives/api" }
1919
fnv = "1.0.6"
20-
futures = "0.3.4"
20+
futures = "0.3.9"
2121
futures-timer = "3.0.1"
2222
log = "0.4.8"
2323
threadpool = "1.7"

client/offchain/src/api/timestamp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn timestamp_from_now(timestamp: Timestamp) -> Duration {
5252
/// If `None`, returns a never-ending `Future`.
5353
pub fn deadline_to_future(
5454
deadline: Option<Timestamp>,
55-
) -> futures::future::MaybeDone<impl futures::Future> {
55+
) -> futures::future::MaybeDone<impl futures::Future<Output = ()>> {
5656
use futures::future::{self, Either};
5757

5858
future::maybe_done(match deadline.map(timestamp_from_now) {

client/peerset/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1515

1616

1717
[dependencies]
18-
futures = "0.3.4"
18+
futures = "0.3.9"
1919
libp2p = { version = "0.33.0", default-features = false }
2020
sp-utils = { version = "2.0.0", path = "../../primitives/utils"}
2121
log = "0.4.8"

client/telemetry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1616

1717
[dependencies]
1818
parking_lot = "0.11.1"
19-
futures = "0.3.4"
19+
futures = "0.3.9"
2020
futures-timer = "3.0.1"
2121
wasm-timer = "0.2.5"
2222
libp2p = { version = "0.33.0", default-features = false, features = ["dns", "tcp-async-std", "wasm-ext", "websocket"] }

client/transaction-pool/graph/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1515
[dependencies]
1616
derive_more = "0.99.2"
1717
thiserror = "1.0.21"
18-
futures = "0.3.4"
18+
futures = "0.3.9"
1919
log = "0.4.8"
2020
parking_lot = "0.11.1"
2121
serde = { version = "1.0.101", features = ["derive"] }

primitives/blockchain/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ log = "0.4.11"
1818
lru = "0.6.1"
1919
parking_lot = "0.11.1"
2020
thiserror = "1.0.21"
21-
futures = "0.3"
21+
futures = "0.3.9"
2222
codec = { package = "parity-scale-codec", version = "1.3.1", default-features = false, features = ["derive"] }
2323
sp-consensus = { version = "0.8.0", path = "../consensus/common" }
2424
sp-runtime = { version = "2.0.0", path = "../runtime" }

primitives/consensus/common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ prometheus-endpoint = { package = "substrate-prometheus-endpoint", path = "../..
3636
wasm-timer = "0.2.5"
3737

3838
[dev-dependencies]
39-
futures = "0.3.4"
39+
futures = "0.3.9"
4040
sp-test-primitives = { version = "2.0.0", path = "../../test-primitives" }
4141

4242
[features]

primitives/utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = "I/O for Substrate runtimes"
1010
readme = "README.md"
1111

1212
[dependencies]
13-
futures = "0.3.4"
13+
futures = "0.3.9"
1414
futures-core = "0.3.4"
1515
lazy_static = "1.4.0"
1616
prometheus = { version = "0.10.0", default-features = false }

test-utils/client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1313

1414
[dependencies]
1515
codec = { package = "parity-scale-codec", version = "1.3.1" }
16-
futures = "0.3.4"
16+
futures = "0.3.9"
1717
futures01 = { package = "futures", version = "0.1.29" }
1818
hash-db = "0.15.2"
1919
hex = "0.4"

test-utils/runtime/client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ codec = { package = "parity-scale-codec", version = "1.3.1" }
2525
sc-client-api = { version = "2.0.0", path = "../../../client/api" }
2626
sc-consensus = { version = "0.8.0", path = "../../../client/consensus/common" }
2727
sc-service = { version = "0.8.0", default-features = false, path = "../../../client/service" }
28-
futures = "0.3.4"
28+
futures = "0.3.9"

0 commit comments

Comments
 (0)