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