-
Notifications
You must be signed in to change notification settings - Fork 191
Closed
Description
Versions/Environment
- What version of Rust are you using?
1.84.0 - What operating system are you using?
Windows 11 - What versions of the driver and its dependencies are you using?
3.2.0 (bson 2.13.0) - What version of MongoDB are you using?
Not applicable - What is your MongoDB topology?
Not applicable
Describe the bug
Previously, I've build my project with mongodb driver with the following features list:
mongodb = { version = "3.2.0", default-features = false, features = ["compat-3-0-0", "rustls-tls"] }Starting from v3.2.0, my build is failing because some part are not guarded properly if dns-resolver is disabled.
Error log: https://gist.github.com/noaione/f5b02d0e2129b0fe7ed67f3bc7d66519
To Reproduce
- Create a new project
- Add mongodb as dependencies with default features disabled with
compat-3-0-0andrustls-tlsas feature - Build the project
- It fails to build (see error log above)
Metadata
Metadata
Assignees
Labels
No labels