fix(test): enable rustls-tls for tests

This is helpful for [this test](c90089ebd4/reqwest-middleware/src/lib.rs (L8)).

This enables tests to pass when running `cargo test --no-default-features`.
This commit is contained in:
Ethan Brierley 2024-07-29 18:59:48 +01:00
parent c54a7733b9
commit ceeb058502

View file

@ -27,6 +27,7 @@ thiserror = "1.0.21"
tower-service = "0.3.0" tower-service = "0.3.0"
[dev-dependencies] [dev-dependencies]
reqwest = { version = "0.12.0", features = ["rustls-tls"] }
reqwest-retry = { path = "../reqwest-retry" } reqwest-retry = { path = "../reqwest-retry" }
reqwest-tracing = { path = "../reqwest-tracing" } reqwest-tracing = { path = "../reqwest-tracing" }
tokio = { version = "1.0.0", features = ["macros", "rt-multi-thread"] } tokio = { version = "1.0.0", features = ["macros", "rt-multi-thread"] }