From 415ff4673f8680c9a6b86252c7d7a7f36845a9be Mon Sep 17 00:00:00 2001 From: Jan Michael Auer Date: Thu, 5 Sep 2024 14:19:20 +0200 Subject: [PATCH] build: Update cadence to 1.4.0 and statsdproxy to 0.2.0 --- Cargo.lock | 40 ++++++++-------------------------------- Cargo.toml | 4 ++-- relay-statsd/Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d523f7435a..d6e70422f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -556,9 +556,9 @@ dependencies = [ [[package]] name = "cadence" -version = "0.29.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb681a7408f21c9d9dcb6638e340913ea260cc587518b5976510d2341f085a19" +checksum = "2f338b979d9ebfff4bb9801ae8f3af0dc3615f7f1ca963f2e4782bcf9acb3753" dependencies = [ "crossbeam-channel", ] @@ -869,11 +869,10 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.6" +version = "0.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" +checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" dependencies = [ - "cfg-if", "crossbeam-utils", ] @@ -913,12 +912,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.14" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" -dependencies = [ - "cfg-if", -] +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crypto-common" @@ -1247,19 +1243,6 @@ dependencies = [ "syn 2.0.77", ] -[[package]] -name = "env_logger" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -1838,12 +1821,6 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62eef4964b4e1c2d66981a5646d893768fd15d96957aae5e0e85c632503e9724" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" version = "0.14.26" @@ -4937,14 +4914,13 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "statsdproxy" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793ec303cef342e5a80e717016050673430851d5e3159ba8275c0f801cc83c11" +checksum = "6e1331025d2b2fd51955ddba105a3b66b558d5979c54fd690ec26f06f215abd2" dependencies = [ "anyhow", "cadence", "crc32fast", - "env_logger", "log", "rand", "thread_local", diff --git a/Cargo.toml b/Cargo.toml index 6513365c69..bcebfd59fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ bindgen = "0.70.1" brotli = "6.0.0" bytecount = "0.6.0" bytes = "1.4.0" -cadence = "0.29.0" +cadence = "1.4.0" chrono = { version = "0.4.31", default-features = false, features = [ "std", "serde", @@ -157,7 +157,7 @@ smallvec = { version = "1.11.2", features = ["serde"] } socket2 = "0.5.7" sqlparser = "0.44.0" sqlx = { version = "0.8.1", default-features = false } -statsdproxy = { version = "0.1.2", default-features = false } +statsdproxy = { version = "0.2.0", default-features = false } symbolic-common = { version = "12.1.2", default-features = false } symbolic-unreal = { version = "12.1.2", default-features = false } syn = "1.0.14" diff --git a/relay-statsd/Cargo.toml b/relay-statsd/Cargo.toml index 2f55692a05..ce39b2b59d 100644 --- a/relay-statsd/Cargo.toml +++ b/relay-statsd/Cargo.toml @@ -18,7 +18,7 @@ crossbeam-channel = { workspace = true } parking_lot = { workspace = true } rand = { workspace = true } relay-log = { workspace = true } -statsdproxy = { workspace = true, features = ["cadence-adapter"], default-features = false } +statsdproxy = { workspace = true, features = ["cadence"] } [features] default = []