Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Apr 24, 2024
1 parent 47b2d54 commit 508c10c
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions ic-agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,16 @@ optional = true
[target.'cfg(not(target_family = "wasm"))'.dependencies]
http-body-to-bytes = { version = "0.2.0", optional = true }
http-body-util = { version = "0.1.0", optional = true }
hyper-util = { version = "0.1.3", features = ["client", "client-legacy", "http2"], optional = true }
hyper-util = { version = "0.1.3", features = [
"client",
"client-legacy",
"http2",
], optional = true }
hyper-rustls = { version = "0.26.0", features = [
"webpki-roots",
"http2",
], optional = true }
tokio = { version = "1.24.2", features = ["time"] }
tokio = { version = "1.24.2", features = ["time", "sync"] }
tower = { version = "0.4.13", optional = true }
rustls-webpki = "0.101.4"

Expand Down Expand Up @@ -98,7 +102,14 @@ web-sys = { version = "0.3", features = [
[features]
default = ["pem", "reqwest"]
reqwest = ["dep:reqwest"]
hyper = ["dep:hyper", "dep:hyper-rustls", "dep:http-body-to-bytes", "dep:http-body-util", "dep:hyper-util", "dep:tower"]
hyper = [
"dep:hyper",
"dep:hyper-rustls",
"dep:http-body-to-bytes",
"dep:http-body-util",
"dep:hyper-util",
"dep:tower",
]
ic_ref_tests = [
"default",
] # Used to separate integration tests for ic-ref which need a server running.
Expand Down

0 comments on commit 508c10c

Please sign in to comment.