diff --git a/Cargo.toml b/Cargo.toml index 189e06b6..38d1f1b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ either = { version = "1.15.0", features = ["serde"] } thiserror = "2.0.12" meilisearch-index-setting-macro = { path = "meilisearch-index-setting-macro", version = "0.29.1" } pin-project-lite = { version = "0.2.16", optional = true } -reqwest = { version = "0.12.22", optional = true, default-features = false, features = ["rustls-tls", "http2", "stream"] } +reqwest = { version = "0.12.22", optional = true, default-features = false, features = ["http2", "stream"] } bytes = { version = "1.10.1", optional = true } uuid = { version = "1.17.0", features = ["v4"] } futures-core = "0.3.31" @@ -42,8 +42,9 @@ web-sys = "0.3.77" wasm-bindgen-futures = "0.4" [features] -default = ["reqwest"] +default = ["reqwest", "tls"] reqwest = ["dep:reqwest", "dep:tokio", "pin-project-lite", "bytes"] +tls = ["reqwest/rustls-tls"] futures-unsend = [] [dev-dependencies]