Skip to content

Commit

Permalink
update on tokio version, based on:
Browse files Browse the repository at this point in the history
  • Loading branch information
b-yap committed May 7, 2024
1 parent 16db713 commit 7f2bced
Show file tree
Hide file tree
Showing 8 changed files with 382 additions and 59 deletions.
427 changes: 375 additions & 52 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion clients/runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
[dependencies]
clap = { version = "4.0.17", features = ["derive"]}
hex = "0.4.3"
tokio = { version = "1.8", features = ["rt-multi-thread", "macros", "time"] }
tokio = { version = "1.37", features = ["rt-multi-thread", "macros", "time"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.42" }
thiserror = "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion clients/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ log = "0.4.0"
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.71"
thiserror = "1.0"
tokio = { version = "1.0", features = ["full"] }
tokio = { version = "1.37", features = ["full"] }
prometheus = { version = "0.12.0", features = ["process"] }
url = "2"

Expand Down
2 changes: 1 addition & 1 deletion clients/runtime/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description = "Embed a substrate node into your subxt application."
keywords = ["parity", "substrate", "blockchain"]

[dependencies]
tokio = { version = "1.10", features = ["time", "rt-multi-thread"] }
tokio = { version = "1.37", features = ["time", "rt-multi-thread"] }
futures = { version = "0.3.9", features = ["compat"], package = "futures" }
futures01 = { package = "futures", version = "0.1.29" }
jsonrpsee = "0.16.0"
Expand Down
2 changes: 1 addition & 1 deletion clients/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ thiserror = "1.0"

hyper = { version = "0.14.11" }
hyper-tls = "0.5.0"
tokio = { version = "1.0", features = ["full"] }
tokio = { version = "1.37", features = ["full"] }
warp = "0.3.2"

serde = { version = "1.0.136", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion clients/stellar-relay-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ substrate-stellar-sdk = {git = "https://github.com/pendulum-chain/substrate-stel

err-derive = "0.3.1"

tokio = { version = "1.0", features = [
tokio = { version = "1.37", features = [
"macros", # allows main function to be async
"rt-multi-thread", # for multi-thread runtime
"sync", # to make channels available
Expand Down
2 changes: 1 addition & 1 deletion clients/vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sysinfo = "0.26.1"
thiserror = "1.0"

# tokio related
tokio = { version = "1.0", features = ["full", "tracing"] }
tokio = { version = "1.37", features = ["full", "tracing"] }
tokio-metrics = { version = "0.1.0", default-features = false }
tokio-stream = { version = "0.1.9", features = ["sync"] }
console-subscriber = "0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion clients/wallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ reqwest = { version = "0.11", features = ["json"] }
serde = "1.0.136"
serde_json = { version = '1.0.45', default-features = false, features = ['alloc'] }
thiserror = "1.0"
tokio = { version = "1.0", features = ["full", "tracing"] }
tokio = { version = "1.37", features = ["full", "tracing"] }
tokio-metrics = { version = "0.1.0", default-features = false }
tokio-stream = { version = "0.1.9", features = ["sync"] }
tracing = { version = "0.1", features = ["log"] }
Expand Down

0 comments on commit 7f2bced

Please sign in to comment.