diff --git a/Cargo.toml b/Cargo.toml index 51f75819..4333f6d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,7 @@ package.version = "0.10.0" beam-lib = { path = "./beam-lib", features = [ "strict-ids" ] } # Command Line Interface clap = { version = "4", features = ["env", "derive"] } +reqwest = { version = "0.13", default-features = false } [profile.release] #opt-level = "z" # Optimize for size. diff --git a/beam-lib/Cargo.toml b/beam-lib/Cargo.toml index 922319dd..75b44cfd 100644 --- a/beam-lib/Cargo.toml +++ b/beam-lib/Cargo.toml @@ -9,7 +9,7 @@ license = "Apache-2.0" serde = { version = "1", features = ["derive"] } serde_json = "1" uuid = { version = "1", features = ["v4", "serde"] } -reqwest = { version = "0.12", features = ["json"], default-features = false, optional = true } +reqwest = { workspace = true, features = ["json"], default-features = false, optional = true } thiserror = { version = "2.0", optional = true } [features] diff --git a/shared/Cargo.toml b/shared/Cargo.toml index a59fd95a..9e84ce61 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -21,8 +21,8 @@ tokio = { version = "1", features = ["full"] } axum = { version = "0.8", features = [] } bytes = "1.4" -# HTTP client with proxy support -reqwest = { version = "0.12", features = ["stream"] } +# This includes all default features of reqwest but uses native-tls aka openssl as we depend on it for encryption anyways +reqwest = { workspace = true, features = ["stream", "native-tls", "charset", "system-proxy", "http2"] } # Logging tracing = "0.1" diff --git a/tests/Cargo.toml b/tests/Cargo.toml index abaa9860..b69830ba 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -13,7 +13,7 @@ serde_json = "1" anyhow = "1" rand = "0.8" serde = { version = "1", features = ["derive"] } -reqwest = { version = "0.12", features = ["stream"], default-features = false } +reqwest = { workspace = true, features = ["stream"], default-features = false } futures = "0.3.28" async-sse = "5.1.0"