Skip to content

Commit

Permalink
Make disabling tls fully optional, but on by default
Browse files Browse the repository at this point in the history
  • Loading branch information
the10thWiz committed Dec 7, 2024
1 parent 2acf6bf commit 5b33d50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrib/db_pools/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 5b33d50

Please sign in to comment.