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
|
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]
|
||||||
|
Loading…
Reference in New Issue
Block a user