## Versions/Environment 1. rustc 1.84.1 (e71f9a9a9 2025-01-27) 2. Ubuntu 22.04.5 LTS, inside WSL 3. registry+https://github.com/rust-lang/crates.io-index#mongodb@3.2.0 registry+https://github.com/rust-lang/crates.io-index#bson@2.13.0 ## 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 1. Checkout v3.2.0 3. `$ cargo build --no-default-features --features rustls-tls,compat-3-0-0` Alt steps: 1. Create empty crate 2. 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)