Skip to content

Commit

Permalink
fix Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Congyuwang authored and sticnarf committed Jul 25, 2024
1 parent 309a225 commit 9c614bb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@ default = ["tokio"]
tor = []
futures-io = ["dep:futures-io"]

[[example]]
name = "chainproxy"
required-features = ["tokio"]

[[example]]
name = "socket"
required-features = ["tor"]
required-features = ["tokio", "tor"]

[[example]]
name = "tor"
required-features = ["tor"]
required-features = ["tokio", "tor"]

[dependencies]
futures-util = { version = "0.3", default-features = false }
Expand All @@ -37,6 +41,8 @@ thiserror = "1.0"

[dev-dependencies]
futures-executor = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["io"] }
tokio = { version = "1.0", features = ["io-util", "rt-multi-thread", "net"] }
once_cell = "1.2.0"
hyper = "0.14"
async-std = "1.12.0"

0 comments on commit 9c614bb

Please sign in to comment.