Make mongodb/rustls non-optional, since mongodb actually requires it

This commit is contained in:
Matthew Pomes 2024-12-07 11:03:20 -06:00
parent b6b657ae4a
commit b572aa4fb5
No known key found for this signature in database
GPG Key ID: B8C0D93B8D8FBDB7

View File

@ -17,10 +17,7 @@ all-features = true
workspace = true
[features]
default = [
"sqlx?/runtime-tokio-rustls",
"mongodb?/rustls-tls",
]
default = ["sqlx?/runtime-tokio-rustls"]
# deadpool features
deadpool_postgres = ["deadpool-postgres", "deadpool"]
deadpool_redis = ["deadpool-redis", "deadpool"]
@ -74,7 +71,7 @@ optional = true
[dependencies.mongodb]
version = "3"
default-features = false
features = ["compat-3-0-0"]
features = ["compat-3-0-0", "rustls-tls"]
optional = true
[dependencies.diesel-async]