Repository: mongodb/mongo-rust-driver (language: rust)

Issue:
Build failing if `dns-resolver` feature is disabled on 3.2.0
## Versions/Environment
1. What version of Rust are you using? `1.84.0`
2. What operating system are you using? `Windows 11`
3. What versions of the driver and its dependencies are you using? `3.2.0 (bson 2.13.0)`
4. What version of MongoDB are you using? `Not applicable`
5. What is your MongoDB topology? `Not applicable`

## Describe the bug
Previously, I've build my project with mongodb driver with the following features list:
```toml
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**
1. Create a new project
2. Add mongodb as dependencies with default features disabled with `compat-3-0-0` and `rustls-tls` as feature
3. Build the project
4. It fails to build (see error log above)


Discussion / hints:

Fix patch:
diff --git a/src/srv.rs b/src/srv.rs
index 66ae74e89..d62aa7070 100644
--- a/src/srv.rs
+++ b/src/srv.rs
@@ -20,6 +20,7 @@ pub(crate) struct LookupHosts {
 }
 
 impl LookupHosts {
+    #[cfg(feature = "dns-resolver")]
     pub(crate) fn validate(mut self, original_hostname: &str, dm: DomainMismatch) -> Result<Self> {
         let original_hostname_parts: Vec<_> = original_hostname.split('.').collect();
         let original_domain_name = if original_hostname_parts.len() >= 3 {
@@ -261,7 +262,10 @@ pub(crate) struct SrvResolver {}
 
 #[cfg(not(feature = "dns-resolver"))]
 impl SrvResolver {
-    pub(crate) async fn new(_config: Option<ResolverConfig>) -> Result<Self> {
+    pub(crate) async fn new(
+        _config: Option<ResolverConfig>,
+        _srv_service_name: Option<String>,
+    ) -> Result<Self> {
         Ok(Self {})
     }
 


Test patch: