diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index ae2c92e9..fb94f5c4 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -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" @@ -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.