diff --git a/Cargo.toml b/Cargo.toml index 3ce3ff48dc..77c8457b5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -219,12 +219,7 @@ similar-asserts = "1.6.0" smallvec = { version = "1", features = ["serde"] } snafu = "0.8" sqlparser = { version = "0.58.0", default-features = false, features = ["std", "visitor", "serde"] } -sqlx = { version = "0.8", features = [ - "runtime-tokio-rustls", - "mysql", - "postgres", - "chrono", -] } +sqlx = { version = "0.8", default-features = false, features = ["any", "macros", "json", "runtime-tokio-rustls"] } strum = { version = "0.27", features = ["derive"] } sysinfo = "0.33" tempfile = "3" diff --git a/src/common/meta/Cargo.toml b/src/common/meta/Cargo.toml index 3ea7627f9c..7438a237b5 100644 --- a/src/common/meta/Cargo.toml +++ b/src/common/meta/Cargo.toml @@ -77,7 +77,10 @@ serde_json.workspace = true serde_with.workspace = true session.workspace = true snafu.workspace = true -sqlx = { workspace = true, optional = true } +sqlx = { workspace = true, features = [ + "mysql", + "chrono", +], optional = true } store-api.workspace = true strum.workspace = true table = { workspace = true, features = ["testing"] } diff --git a/src/meta-srv/Cargo.toml b/src/meta-srv/Cargo.toml index bd2075501c..1c4bff72cf 100644 --- a/src/meta-srv/Cargo.toml +++ b/src/meta-srv/Cargo.toml @@ -72,7 +72,10 @@ serde.workspace = true serde_json.workspace = true servers.workspace = true snafu.workspace = true -sqlx = { workspace = true, optional = true } +sqlx = { workspace = true, features = [ + "mysql", + "chrono", +], optional = true } store-api.workspace = true strum.workspace = true table.workspace = true diff --git a/tests-fuzz/Cargo.toml b/tests-fuzz/Cargo.toml index 9cf6552d68..060112c296 100644 --- a/tests-fuzz/Cargo.toml +++ b/tests-fuzz/Cargo.toml @@ -53,7 +53,10 @@ serde_yaml = "0.9" snafu = { workspace = true } sql = { workspace = true } sqlparser.workspace = true -sqlx.workspace = true +sqlx = { workspace = true, features = [ + "mysql", + "chrono", +] } store-api = { workspace = true } strum.workspace = true tinytemplate = "1.2" diff --git a/tests-integration/Cargo.toml b/tests-integration/Cargo.toml index 91cb0f5ad2..5721f12af9 100644 --- a/tests-integration/Cargo.toml +++ b/tests-integration/Cargo.toml @@ -73,8 +73,7 @@ session.workspace = true similar-asserts.workspace = true snafu.workspace = true sql.workspace = true -sqlx = { version = "0.8", features = [ - "runtime-tokio-rustls", +sqlx = { workspace = true, features = [ "mysql", "postgres", "chrono",