Versions/Environment
- rustc 1.84.1 (e71f9a9a9 2025-01-27)
- Ubuntu 22.04.5 LTS, inside WSL
- registry+https://github.com/rust-lang/crates.io-index#[email protected]
registry+https://github.com/rust-lang/crates.io-index#[email protected]
The bug
The crate does not compile without the dns-resolver
feature enabled, on version 3.2.0 and version 3.1.1.
Reproduction steps
- Checkout v3.2.0
$ cargo build --no-default-features --features rustls-tls,compat-3-0-0
Alt steps:
- Create empty crate
- Add
mongodb = { version = "3", default-features = false, features = ["rustls-tls", "compat-3-0-0"] }
to Cargo.toml
(Edit: removed solution, since it doesn't actually fix issue)