mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-22 09:22:03 +00:00
Make disabling tls fully optional, but on by default
This commit is contained in:
parent
2acf6bfbe3
commit
5b33d50133
@ -17,6 +17,10 @@ all-features = true
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
default = [
|
||||
"sqlx?/runtime-tokio-rustls",
|
||||
"mongodb?/rustls-tls",
|
||||
]
|
||||
# deadpool features
|
||||
deadpool_postgres = ["deadpool-postgres", "deadpool"]
|
||||
deadpool_redis = ["deadpool-redis", "deadpool"]
|
||||
@ -70,7 +74,7 @@ optional = true
|
||||
[dependencies.mongodb]
|
||||
version = "3"
|
||||
default-features = false
|
||||
features = ["compat-3-0-0", "rustls-tls"]
|
||||
features = ["compat-3-0-0"]
|
||||
optional = true
|
||||
|
||||
[dependencies.diesel-async]
|
||||
|
Loading…
Reference in New Issue
Block a user