mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-22 01:12:07 +00:00
Make mongodb/rustls non-optional, since mongodb actually requires it
This commit is contained in:
parent
b6b657ae4a
commit
b572aa4fb5
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user