Skip to content

Commit

Permalink
Make mongodb/rustls non-optional, since mongodb actually requires it
Browse files Browse the repository at this point in the history
  • Loading branch information
the10thWiz committed Dec 7, 2024
1 parent b6b657a commit b572aa4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions contrib/db_pools/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit b572aa4

Please sign in to comment.