Skip to content

Commit

Permalink
fix(test): enable rustls-tls for tests
Browse files Browse the repository at this point in the history
This is helpful for [this test](https://github.com/TrueLayer/reqwest-middleware/blob/c90089ebd4cecf7cfb7d84d6664a993983682ce1/reqwest-middleware/src/lib.rs#L8).

This enables tests to pass when running `cargo test --no-default-features`.
  • Loading branch information
eopb committed Jul 29, 2024
1 parent c54a773 commit ceeb058
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reqwest-middleware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ thiserror = "1.0.21"
tower-service = "0.3.0"

[dev-dependencies]
reqwest = { version = "0.12.0", features = ["rustls-tls"] }
reqwest-retry = { path = "../reqwest-retry" }
reqwest-tracing = { path = "../reqwest-tracing" }
tokio = { version = "1.0.0", features = ["macros", "rt-multi-thread"] }
Expand Down

0 comments on commit ceeb058

Please sign in to comment.