Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix: examples tokio feature #2427

Merged
merged 1 commit into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/anvil/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ edition.workspace = true

[dev-dependencies]
ethers.workspace = true
tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
eyre.workspace = true
2 changes: 1 addition & 1 deletion examples/contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ legacy = ["ethers/legacy"]
[dev-dependencies]
ethers = { workspace = true, features = ["abigen", "rustls", "ws", "ethers-solc"] }

tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

serde.workspace = true
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion examples/events/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition.workspace = true
[dev-dependencies]
ethers = { workspace = true, features = ["rustls"] }

tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

serde.workspace = true
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion examples/geth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition.workspace = true
[dev-dependencies]
ethers.workspace = true

tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

serde.workspace = true
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion examples/middleware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition.workspace = true
ethers = { workspace = true, features = ["rustls"] }
serde.workspace = true
serde_json.workspace = true
tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
async-trait.workspace = true
thiserror.workspace = true
eyre.workspace = true
2 changes: 1 addition & 1 deletion examples/providers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition.workspace = true
[dev-dependencies]
ethers = { workspace = true, features = ["abigen", "ipc", "rustls", "ws"] }

tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
async-trait.workspace = true
reqwest.workspace = true
url.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion examples/queries/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition.workspace = true
[dev-dependencies]
ethers = { workspace = true, features = ["abigen", "ws", "rustls"] }

tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

serde.workspace = true
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion examples/subscriptions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition.workspace = true
[dev-dependencies]
ethers = { workspace = true, features = ["abigen", "ws", "rustls"] }

tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

serde.workspace = true
serde_json.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions examples/transactions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ rust-version.workspace = true
edition.workspace = true

[dev-dependencies]
ethers = { workspace = true, features = ["abigen", "ws", "rustls"] }
ethers = { workspace = true, features = ["abigen", "ws", "rustls", "ethers-solc"] }

tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

serde.workspace = true
serde_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion examples/wallets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ yubi = ["ethers/yubi"]
[dev-dependencies]
ethers = { workspace = true, features = ["abigen", "ws", "rustls"] }

tokio = { workspace = true, features = ["macros"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

serde.workspace = true
serde_json.workspace = true
Expand Down