diff --git a/contrib/db_pools/lib/Cargo.toml b/contrib/db_pools/lib/Cargo.toml index 2654139914..d613203d29 100644 --- a/contrib/db_pools/lib/Cargo.toml +++ b/contrib/db_pools/lib/Cargo.toml @@ -17,6 +17,7 @@ all-features = true workspace = true [features] +default = ["sqlx?/runtime-tokio-rustls"] # deadpool features deadpool_postgres = ["deadpool-postgres", "deadpool"] deadpool_redis = ["deadpool-redis", "deadpool"] @@ -26,8 +27,18 @@ sqlx_postgres = ["sqlx", "sqlx/postgres", "log"] sqlx_sqlite = ["sqlx", "sqlx/sqlite", "log"] sqlx_macros = ["sqlx/macros"] # diesel features -diesel_postgres = ["diesel-async/postgres", "diesel-async/deadpool", "deadpool", "diesel"] -diesel_mysql = ["diesel-async/mysql", "diesel-async/deadpool", "deadpool", "diesel"] +diesel_postgres = [ + "diesel-async/postgres", + "diesel-async/deadpool", + "deadpool", + "diesel", +] +diesel_mysql = [ + "diesel-async/mysql", + "diesel-async/deadpool", + "deadpool", + "diesel", +] # implicit features: mongodb [dependencies.rocket] @@ -77,7 +88,7 @@ optional = true [dependencies.sqlx] version = "0.8" default-features = false -features = ["runtime-tokio-rustls"] +features = ["runtime-tokio"] optional = true [dependencies.log]