diff --git a/Cargo.lock b/Cargo.lock index af67e6c6e9ba5..454dfe2b3baa0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7945,9 +7945,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.111" +version = "1.0.112" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" +checksum = "4d1bd37ce2324cf3bf85e5a25f96eb4baf0d5aa6eba43e7ae8958870c4ec48ed" dependencies = [ "indexmap 2.1.0", "itoa", diff --git a/Cargo.toml b/Cargo.toml index daad3998b6b18..d37473a7b1bcd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -123,8 +123,9 @@ members = [ [workspace.dependencies] chrono = { version = "0.4.33", default-features = false, features = ["clock", "serde"] } -pin-project = { version = "1.1.4", default-features = false } clap = { version = "4.4.18", default-features = false, features = ["derive", "error-context", "env", "help", "std", "string", "usage", "wrap_help"] } +pin-project = { version = "1.1.4", default-features = false } +serde_json = { version = "1.0.112", default-features = false, features = ["raw_value", "std"] } vrl = { version = "0.9.1", features = ["arbitrary", "cli", "test", "test_framework"] } [dependencies] @@ -197,7 +198,7 @@ tower-http = { version = "0.4.4", default-features = false, features = ["decompr serde = { version = "1.0.195", default-features = false, features = ["derive"] } serde-toml-merge = { version = "0.3.3", default-features = false } serde_bytes = { version = "0.11.14", default-features = false, features = ["std"], optional = true } -serde_json = { version = "1.0.111", default-features = false, features = ["raw_value"] } +serde_json.workspace = true serde_with = { version = "3.5.0", default-features = false, features = ["macros", "std"] } serde_yaml = { version = "0.9.30", default-features = false } diff --git a/lib/codecs/Cargo.toml b/lib/codecs/Cargo.toml index 2dbd70dd3c177..66a89c8f36368 100644 --- a/lib/codecs/Cargo.toml +++ b/lib/codecs/Cargo.toml @@ -24,7 +24,7 @@ prost = { version = "0.12.3", default-features = false, features = ["std"] } prost-reflect = { version = "0.12", default-features = false, features = ["serde"] } regex = { version = "1.10.3", default-features = false, features = ["std", "perf"] } serde = { version = "1", default-features = false, features = ["derive"] } -serde_json = { version = "1", default-features = false } +serde_json.workspace = true smallvec = { version = "1", default-features = false, features = ["union"] } snafu = { version = "0.7.5", default-features = false, features = ["futures"] } syslog_loose = { version = "0.21", default-features = false, optional = true } diff --git a/lib/docs-renderer/Cargo.toml b/lib/docs-renderer/Cargo.toml index edb9ee05751e6..cbe6eef56a194 100644 --- a/lib/docs-renderer/Cargo.toml +++ b/lib/docs-renderer/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] anyhow = { version = "1.0.79", default-features = false, features = ["std"] } serde = { version = "1.0", default-features = false } -serde_json = { version = "1.0", default-features = false, features = ["std"] } +serde_json.workspace = true snafu = { version = "0.7.5", default-features = false } tracing = { version = "0.1.34", default-features = false } tracing-subscriber = { version = "0.3.18", default-features = false, features = ["ansi", "env-filter", "fmt", "json", "registry", "tracing-log"] } diff --git a/lib/k8s-e2e-tests/Cargo.toml b/lib/k8s-e2e-tests/Cargo.toml index a0a5f390e7ccf..37c45cba7d2d0 100644 --- a/lib/k8s-e2e-tests/Cargo.toml +++ b/lib/k8s-e2e-tests/Cargo.toml @@ -13,7 +13,7 @@ k8s-openapi = { version = "0.16.0", default-features = false, features = ["v1_19 k8s-test-framework = { version = "0.1", path = "../k8s-test-framework" } regex = "1" reqwest = { version = "0.11.23", features = ["json"] } -serde_json = "1" +serde_json.workspace = true tokio = { version = "1.35.1", features = ["full"] } indoc = "2.0.4" env_logger = "0.10" diff --git a/lib/k8s-test-framework/Cargo.toml b/lib/k8s-test-framework/Cargo.toml index 292c83d06ec5c..c2e5f7cedd76e 100644 --- a/lib/k8s-test-framework/Cargo.toml +++ b/lib/k8s-test-framework/Cargo.toml @@ -9,7 +9,7 @@ license = "MPL-2.0" [dependencies] k8s-openapi = { version = "0.16.0", default-features = false, features = ["v1_19"] } -serde_json = "1" +serde_json.workspace = true tempfile = "3" tokio = { version = "1.35.1", features = ["full"] } log = "0.4" diff --git a/lib/vector-api-client/Cargo.toml b/lib/vector-api-client/Cargo.toml index 164f8ab41257a..7fa5cddc591a2 100644 --- a/lib/vector-api-client/Cargo.toml +++ b/lib/vector-api-client/Cargo.toml @@ -10,7 +10,7 @@ license = "MPL-2.0" # Serde serde = { version = "1.0.195", default-features = false, features = ["derive"] } -serde_json = { version = "1.0.111", default-features = false, features = ["raw_value"] } +serde_json.workspace = true # Error handling anyhow = { version = "1.0.79", default-features = false, features = ["std"] } diff --git a/lib/vector-common/Cargo.toml b/lib/vector-common/Cargo.toml index 66a377c19d064..3410c12de04da 100644 --- a/lib/vector-common/Cargo.toml +++ b/lib/vector-common/Cargo.toml @@ -54,7 +54,7 @@ ordered-float = { version = "4.2.0", default-features = false } paste = "1.0.14" pin-project.workspace = true ryu = { version = "1", default-features = false } -serde_json = { version = "1.0.111", default-features = false, features = ["std", "raw_value"] } +serde_json.workspace = true serde = { version = "1.0.195", optional = true, features = ["derive"] } smallvec = { version = "1", default-features = false } snafu = { version = "0.7", optional = true } diff --git a/lib/vector-config-common/Cargo.toml b/lib/vector-config-common/Cargo.toml index 9de0b5159865a..c031b8ecbdab3 100644 --- a/lib/vector-config-common/Cargo.toml +++ b/lib/vector-config-common/Cargo.toml @@ -10,7 +10,7 @@ darling = { version = "0.20", default-features = false, features = ["suggestions once_cell = { version = "1", default-features = false, features = ["std"] } proc-macro2 = { version = "1.0", default-features = false } serde = { version = "1.0", default-features = false, features = ["derive"] } -serde_json = { version = "1.0", default-features = false, features = ["std"] } +serde_json.workspace = true syn = { version = "2.0", features = ["full", "extra-traits", "visit-mut", "visit"] } tracing = { version = "0.1.34", default-features = false } quote = { version = "1.0", default-features = false } diff --git a/lib/vector-config/Cargo.toml b/lib/vector-config/Cargo.toml index 197198d0fd815..b0847da7bc88e 100644 --- a/lib/vector-config/Cargo.toml +++ b/lib/vector-config/Cargo.toml @@ -19,7 +19,7 @@ inventory = { version = "0.3" } no-proxy = { version = "0.3.4", default-features = false, features = ["serialize"] } num-traits = { version = "0.2.17", default-features = false } serde = { version = "1.0", default-features = false } -serde_json = { version = "1.0", default-features = false, features = ["std"] } +serde_json.workspace = true serde_with = { version = "3.5.0", default-features = false, features = ["std"] } snafu = { version = "0.7.5", default-features = false } toml = { version = "0.8.8", default-features = false } diff --git a/lib/vector-core/Cargo.toml b/lib/vector-core/Cargo.toml index 66ddea280b128..2777d05221e41 100644 --- a/lib/vector-core/Cargo.toml +++ b/lib/vector-core/Cargo.toml @@ -41,7 +41,7 @@ quanta = { version = "0.12.2", default-features = false } regex = { version = "1.10.3", default-features = false, features = ["std", "perf"] } ryu = { version = "1", default-features = false } serde = { version = "1.0.195", default-features = false, features = ["derive", "rc"] } -serde_json = { version = "1.0.111", default-features = false } +serde_json.workspace = true serde_with = { version = "3.5.0", default-features = false, features = ["std", "macros"] } smallvec = { version = "1", default-features = false, features = ["serde", "const_generics"] } snafu = { version = "0.7.5", default-features = false } diff --git a/lib/vector-vrl/tests/Cargo.toml b/lib/vector-vrl/tests/Cargo.toml index 15cd6681d676c..9c69e6cedf738 100644 --- a/lib/vector-vrl/tests/Cargo.toml +++ b/lib/vector-vrl/tests/Cargo.toml @@ -18,7 +18,7 @@ glob = "0.3" prettydiff = "0.6" regex = "1" serde = "1" -serde_json = "1" +serde_json.workspace = true tracing-subscriber = { version = "0.3.18", default-features = false, features = ["fmt"] } [target.'cfg(not(target_env = "msvc"))'.dependencies] diff --git a/vdev/Cargo.toml b/vdev/Cargo.toml index 2d9828a5f399f..0b21ddcbd8d47 100644 --- a/vdev/Cargo.toml +++ b/vdev/Cargo.toml @@ -32,7 +32,7 @@ paste = "1.0.14" regex = { version = "1.10.3", default-features = false, features = ["std", "perf"] } reqwest = { version = "0.11", features = ["json", "blocking"] } serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0.111" +serde_json.workspace = true serde_yaml = "0.9.30" sha2 = "0.10.8" tempfile = "3.9.0"