Skip to content

Commit

Permalink
fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Mar 7, 2024
1 parent cc3e271 commit 5d1b4de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ic-agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ futures-util = { workspace = true }
hex = { workspace = true }
http = "1.0.0"
http-body = "1.0.0"
http-body-to-bytes = "0.2.0"
http-body-util = "0.1.0"
hyper-util = { version = "0.1.3", features = ["client", "client-legacy", "http2"] }
ic-certification = { workspace = true }
ic-transport-types = { workspace = true }
ic-verify-bls-signature = "0.1"
Expand All @@ -45,7 +42,6 @@ sha2 = { workspace = true }
simple_asn1 = "0.6.1"
thiserror = { workspace = true }
time = { workspace = true }
tower = "0.4.13"
url = "2.1.0"

[dependencies.hyper]
Expand All @@ -64,11 +60,15 @@ version = "2.0.1"
optional = true

[target.'cfg(not(target_family = "wasm"))'.dependencies]
http-body-to-bytes = "0.2.0"
http-body-util = "0.1.0"
hyper-util = { version = "0.1.3", features = ["client", "client-legacy", "http2"] }
hyper-rustls = { version = "0.26.0", features = [
"webpki-roots",
"http2",
], optional = true }
tokio = { version = "1.24.2", features = ["time"] }
tower = "0.4.13"
rustls-webpki = "0.101.4"

[target.'cfg(target_family = "wasm")'.dependencies]
Expand Down

0 comments on commit 5d1b4de

Please sign in to comment.