diff --git a/Cargo.lock b/Cargo.lock index 4a0027422a4f..ce8899218083 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4703,7 +4703,6 @@ dependencies = [ "regex", "risingwave_common", "risingwave_sqlparser", - "rust_decimal", "thiserror", "tokio-openssl", "tokio-postgres", @@ -6882,7 +6881,6 @@ dependencies = [ "rkyv", "serde", "serde_json", - "tokio-postgres", ] [[package]] diff --git a/src/common/Cargo.toml b/src/common/Cargo.toml index 6e52c0666048..461a43ef3d02 100644 --- a/src/common/Cargo.toml +++ b/src/common/Cargo.toml @@ -59,7 +59,7 @@ rand = "0.8" regex = "1" reqwest = { version = "0.11", features = ["json"] } risingwave_pb = { path = "../prost" } -rust_decimal = { version = "1", features = ["db-tokio-postgres"] } +rust_decimal = { version = "1", features = ["db-postgres", "maths"] } ryu = "1.0" serde = { version = "1", features = ["derive"] } serde_default = "0.1" diff --git a/src/tests/e2e_extended_mode/Cargo.toml b/src/tests/e2e_extended_mode/Cargo.toml index 831c7ba35a63..b2ba33c8521d 100644 --- a/src/tests/e2e_extended_mode/Cargo.toml +++ b/src/tests/e2e_extended_mode/Cargo.toml @@ -18,7 +18,7 @@ anyhow = { version = "1", features = ["backtrace"] } chrono = { version = "0.4", features = ['serde'] } clap = { version = "4", features = ["derive"] } pg_interval = "0.4" -rust_decimal ={ version = "1.25", features = ["db-postgres","db-tokio-postgres"] } +rust_decimal ={ version = "1.25", features = ["db-postgres"] } tokio = { version = "1", features = ["rt", "macros","rt-multi-thread"] } tokio-postgres = { version = "0.7", features = ["with-chrono-0_4"] } tracing = "0.1" diff --git a/src/utils/pgwire/Cargo.toml b/src/utils/pgwire/Cargo.toml index 58170963f716..35adab51faa3 100644 --- a/src/utils/pgwire/Cargo.toml +++ b/src/utils/pgwire/Cargo.toml @@ -28,7 +28,6 @@ postgres-types = { version = "0.2.4", features = ["derive","with-chrono-0_4"] } regex = "1.5" risingwave_common = { path = "../../common" } risingwave_sqlparser = { path = "../../sqlparser" } -rust_decimal = { version = "1", features = ["db-tokio-postgres"] } thiserror = "1" tokio = { version = "0.2", package = "madsim-tokio", features = ["rt", "macros"] } tokio-openssl = "0.6.3" diff --git a/src/workspace-hack/Cargo.toml b/src/workspace-hack/Cargo.toml index d14210d3f116..b5670790fb1f 100644 --- a/src/workspace-hack/Cargo.toml +++ b/src/workspace-hack/Cargo.toml @@ -84,7 +84,7 @@ regex = { version = "1" } regex-syntax = { version = "0.6" } reqwest = { version = "0.11", features = ["blocking", "json", "rustls-tls"] } ring = { version = "0.16", features = ["std"] } -rust_decimal = { version = "1", features = ["db-postgres", "db-tokio-postgres"] } +rust_decimal = { version = "1", features = ["db-postgres", "maths"] } scopeguard = { version = "1" } serde = { version = "1", features = ["alloc", "derive", "rc"] } serde_json = { version = "1", features = ["alloc"] } @@ -180,7 +180,7 @@ regex = { version = "1" } regex-syntax = { version = "0.6" } reqwest = { version = "0.11", features = ["blocking", "json", "rustls-tls"] } ring = { version = "0.16", features = ["std"] } -rust_decimal = { version = "1", features = ["db-postgres", "db-tokio-postgres"] } +rust_decimal = { version = "1", features = ["db-postgres", "maths"] } scopeguard = { version = "1" } serde = { version = "1", features = ["alloc", "derive", "rc"] } serde_json = { version = "1", features = ["alloc"] }