diff --git a/Cargo.toml b/Cargo.toml index a46874f9e3da..e7f7480e9f9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -141,6 +141,7 @@ deltalake = { git = "https://github.com/risingwavelabs/delta-rs", rev = "5c2dccd "s3-no-concurrent-write", ] } parquet = "49" +serde_json = {version = "1" , features = ["arbitrary_precision"]} thiserror-ext = "0.0.10" tikv-jemalloc-ctl = { git = "https://github.com/risingwavelabs/jemallocator.git", rev = "64a2d9" } tikv-jemallocator = { git = "https://github.com/risingwavelabs/jemallocator.git", features = [ diff --git a/integration_tests/feature-store/server/Cargo.toml b/integration_tests/feature-store/server/Cargo.toml index ce43a3f8af50..e025bfc61378 100644 --- a/integration_tests/feature-store/server/Cargo.toml +++ b/integration_tests/feature-store/server/Cargo.toml @@ -14,7 +14,7 @@ tokio = { version = "1", features = ["full"] } tonic = "0.10.2" reqwest = { version = "0.11", features = ["blocking"] } rdkafka = { version = "0.34", features = ["cmake-build"] } -serde_json = "1.0" +serde_json = { workspace = true } prost = "0.12" clap = "4.4.6" tokio-postgres = "0.7.10" diff --git a/integration_tests/feature-store/simulator/Cargo.toml b/integration_tests/feature-store/simulator/Cargo.toml index 03264cde563b..7fb864f66f72 100644 --- a/integration_tests/feature-store/simulator/Cargo.toml +++ b/integration_tests/feature-store/simulator/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" tokio = { version = "1", features=["macros","rt", "rt-multi-thread"]} tonic = "0.10.2" reqwest = { version = "0.11"} -serde_json = "1.0" +serde_json = { workspace = true } serde_derive = "1.0" rand = "0.8" clap = "4.4.6" diff --git a/src/batch/Cargo.toml b/src/batch/Cargo.toml index 3660318180c1..e8e59853fde9 100644 --- a/src/batch/Cargo.toml +++ b/src/batch/Cargo.toml @@ -38,7 +38,7 @@ risingwave_rpc_client = { workspace = true } risingwave_source = { workspace = true } risingwave_storage = { workspace = true } scopeguard = "1" -serde_json = "1" +serde_json = { workspace = true } thiserror = "1" thiserror-ext = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ diff --git a/src/common/Cargo.toml b/src/common/Cargo.toml index 02f0a9bdda53..51e9bf9bc506 100644 --- a/src/common/Cargo.toml +++ b/src/common/Cargo.toml @@ -86,7 +86,7 @@ ryu = "1.0" serde = { version = "1", features = ["derive"] } serde_bytes = "0.11" serde_default = "0.1" -serde_json = "1" +serde_json = { workspace = true } serde_with = "3" smallbitset = "0.7.1" speedate = "0.13.0" diff --git a/src/compute/Cargo.toml b/src/compute/Cargo.toml index c1594f2453d4..29477c1b60c3 100644 --- a/src/compute/Cargo.toml +++ b/src/compute/Cargo.toml @@ -40,7 +40,7 @@ risingwave_source = { workspace = true } risingwave_storage = { workspace = true } risingwave_stream = { workspace = true } serde = { version = "1", features = ["derive"] } -serde_json = "1" +serde_json = { workspace = true } thiserror-ext = { workspace = true } tikv-jemalloc-ctl = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ diff --git a/src/connector/Cargo.toml b/src/connector/Cargo.toml index 5d74d749f929..2b394aa7c1ec 100644 --- a/src/connector/Cargo.toml +++ b/src/connector/Cargo.toml @@ -111,7 +111,7 @@ risingwave_rpc_client = { workspace = true } rust_decimal = "1" serde = { version = "1", features = ["derive", "rc"] } serde_derive = "1" -serde_json = "1" +serde_json = { workspace = true } serde_with = { version = "3", features = ["json"] } simd-json = "0.13.3" strum = "0.25" diff --git a/src/ctl/Cargo.toml b/src/ctl/Cargo.toml index 5632846c6485..405cdc3e7d72 100644 --- a/src/ctl/Cargo.toml +++ b/src/ctl/Cargo.toml @@ -35,7 +35,7 @@ risingwave_rpc_client = { workspace = true } risingwave_storage = { workspace = true } risingwave_stream = { workspace = true } serde = "1" -serde_json = "1" +serde_json = { workspace = true } serde_yaml = "0.9.25" size = "0.4" thiserror-ext = { workspace = true } diff --git a/src/expr/impl/Cargo.toml b/src/expr/impl/Cargo.toml index bd24448ebbd6..52390bc3d3bd 100644 --- a/src/expr/impl/Cargo.toml +++ b/src/expr/impl/Cargo.toml @@ -39,7 +39,7 @@ risingwave_pb = { workspace = true } rust_decimal = { version = "1", features = ["db-postgres", "maths"] } self_cell = "1.0.1" serde = { version = "1", features = ["derive"] } -serde_json = "1" +serde_json = { workspace = true } sha1 = "0.10" sha2 = "0.10" sql-json-path = { version = "0.1", features = ["jsonbb"] } diff --git a/src/frontend/Cargo.toml b/src/frontend/Cargo.toml index e279ccb38ba6..2fa702db1e13 100644 --- a/src/frontend/Cargo.toml +++ b/src/frontend/Cargo.toml @@ -65,7 +65,7 @@ risingwave_storage = { workspace = true } risingwave_udf = { workspace = true } risingwave_variables = { workspace = true } serde = { version = "1", features = ["derive"] } -serde_json = "1" +serde_json = { workspace = true } sha2 = "0.10.7" smallvec = { version = "1.11.1", features = ["serde"] } tempfile = "3" diff --git a/src/java_binding/Cargo.toml b/src/java_binding/Cargo.toml index 477f19878cbd..7edde89a3792 100644 --- a/src/java_binding/Cargo.toml +++ b/src/java_binding/Cargo.toml @@ -16,7 +16,7 @@ risingwave_common = { workspace = true } risingwave_jni_core = { workspace = true } risingwave_pb = { workspace = true } serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" +serde_json = { workspace = true } [dev-dependencies] risingwave_expr = { workspace = true } diff --git a/src/jni_core/Cargo.toml b/src/jni_core/Cargo.toml index 736c94e58060..a75f75139cfa 100644 --- a/src/jni_core/Cargo.toml +++ b/src/jni_core/Cargo.toml @@ -25,7 +25,7 @@ risingwave_object_store = { workspace = true } risingwave_pb = { workspace = true } risingwave_storage = { workspace = true } serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" +serde_json = { workspace = true } thiserror = "1" thiserror-ext = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ diff --git a/src/meta/Cargo.toml b/src/meta/Cargo.toml index 3f6e9907c8c4..48dfb5433d83 100644 --- a/src/meta/Cargo.toml +++ b/src/meta/Cargo.toml @@ -67,7 +67,7 @@ sea-orm = { version = "0.12.0", features = [ "macros", ] } serde = { version = "1", features = ["derive"] } -serde_json = "1" +serde_json = { workspace = true } strum = { version = "0.25", features = ["derive"] } sync-point = { path = "../utils/sync-point" } thiserror = "1" diff --git a/src/meta/model_v2/Cargo.toml b/src/meta/model_v2/Cargo.toml index f080645fc1c6..35a7256b5177 100644 --- a/src/meta/model_v2/Cargo.toml +++ b/src/meta/model_v2/Cargo.toml @@ -24,4 +24,4 @@ sea-orm = { version = "0.12.0", features = [ "macros", ] } serde = { version = "1", features = ["derive"] } -serde_json = "1" +serde_json = { workspace = true } diff --git a/src/meta/node/Cargo.toml b/src/meta/node/Cargo.toml index f0f0bc187452..3e40c65b0f55 100644 --- a/src/meta/node/Cargo.toml +++ b/src/meta/node/Cargo.toml @@ -39,7 +39,7 @@ sea-orm = { version = "0.12.0", features = [ "macros", ] } serde = { version = "1", features = ["derive"] } -serde_json = "1" +serde_json = { workspace = true } tokio = { version = "0.2", package = "madsim-tokio", features = [ "rt", "rt-multi-thread", diff --git a/src/risedevtool/Cargo.toml b/src/risedevtool/Cargo.toml index 3b4acc0f9877..f0124012a72e 100644 --- a/src/risedevtool/Cargo.toml +++ b/src/risedevtool/Cargo.toml @@ -28,7 +28,7 @@ redis = "0.24" regex = "1" reqwest = "0.11" serde = { version = "1", features = ["derive"] } -serde_json = "1" +serde_json = { workspace = true } serde_with = "3" serde_yaml = "0.9" tempfile = "3" diff --git a/src/storage/backup/Cargo.toml b/src/storage/backup/Cargo.toml index 2b4f1c60ec5c..56e506a490b5 100644 --- a/src/storage/backup/Cargo.toml +++ b/src/storage/backup/Cargo.toml @@ -27,7 +27,7 @@ risingwave_meta_model_v2 = { workspace = true } risingwave_object_store = { workspace = true } risingwave_pb = { workspace = true } serde = { version = "1", features = ["derive"] } -serde_json = "1" +serde_json = { workspace = true } thiserror = "1" twox-hash = "1" diff --git a/src/stream/Cargo.toml b/src/stream/Cargo.toml index d3a035fa8b59..df61c8d2bcef 100644 --- a/src/stream/Cargo.toml +++ b/src/stream/Cargo.toml @@ -54,7 +54,7 @@ risingwave_pb = { workspace = true } risingwave_rpc_client = { workspace = true } risingwave_source = { workspace = true } risingwave_storage = { workspace = true } -serde_json = "1" +serde_json = { workspace = true } smallvec = "1" static_assertions = "1" thiserror = "1"