chore(deps): update rust crate metrics to 0.21.0 #108

Merged
Jef Roosens merged 1 commits from renovate/metrics-0.x into dev 2023-04-30 16:53:52 +02:00
2 changed files with 51 additions and 12 deletions

61
Cargo.lock generated
View File

@ -19,6 +19,17 @@ dependencies = [
"version_check", "version_check",
] ]
[[package]]
name = "ahash"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f"
dependencies = [
"cfg-if",
"once_cell",
"version_check",
]
[[package]] [[package]]
name = "async-trait" name = "async-trait"
version = "0.1.68" version = "0.1.68"
@ -261,7 +272,7 @@ version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
dependencies = [ dependencies = [
"ahash", "ahash 0.7.6",
] ]
[[package]] [[package]]
@ -449,9 +460,20 @@ version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b9b8653cec6897f73b519a43fba5ee3d50f62fe9af80b428accdcc093b4a849" checksum = "7b9b8653cec6897f73b519a43fba5ee3d50f62fe9af80b428accdcc093b4a849"
dependencies = [ dependencies = [
"ahash", "ahash 0.7.6",
"metrics-macros", "metrics-macros 0.6.0",
"portable-atomic", "portable-atomic 0.3.4",
]
[[package]]
name = "metrics"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa8ebbd1a9e57bbab77b9facae7f5136aea44c356943bf9a198f647da64285d6"
dependencies = [
"ahash 0.8.3",
"metrics-macros 0.7.0",
"portable-atomic 1.2.0",
] ]
[[package]] [[package]]
@ -463,10 +485,10 @@ dependencies = [
"hyper", "hyper",
"indexmap", "indexmap",
"ipnet", "ipnet",
"metrics", "metrics 0.20.1",
"metrics-util", "metrics-util",
"parking_lot", "parking_lot",
"portable-atomic", "portable-atomic 0.3.4",
"quanta", "quanta",
"thiserror", "thiserror",
"tokio", "tokio",
@ -484,6 +506,17 @@ dependencies = [
"syn 1.0.103", "syn 1.0.103",
] ]
[[package]]
name = "metrics-macros"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ddece26afd34c31585c74a4db0630c376df271c285d682d1e55012197830b6df"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.15",
]
[[package]] [[package]]
name = "metrics-util" name = "metrics-util"
version = "0.14.0" version = "0.14.0"
@ -493,10 +526,10 @@ dependencies = [
"crossbeam-epoch", "crossbeam-epoch",
"crossbeam-utils", "crossbeam-utils",
"hashbrown 0.12.3", "hashbrown 0.12.3",
"metrics", "metrics 0.20.1",
"num_cpus", "num_cpus",
"parking_lot", "parking_lot",
"portable-atomic", "portable-atomic 0.3.4",
"quanta", "quanta",
"sketches-ddsketch", "sketches-ddsketch",
] ]
@ -560,9 +593,9 @@ dependencies = [
[[package]] [[package]]
name = "once_cell" name = "once_cell"
version = "1.13.0" version = "1.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
[[package]] [[package]]
name = "overload" name = "overload"
@ -637,6 +670,12 @@ version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "763095e04dcbeb889b2ab35296ecb18a20fe16b4e9877ce64aab73d8fd05a8c3" checksum = "763095e04dcbeb889b2ab35296ecb18a20fe16b4e9877ce64aab73d8fd05a8c3"
[[package]]
name = "portable-atomic"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f602a0d1e09a48e4f8e8b4d4042e32807c3676da31f2ecabeac9f96226ec6c45"
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.56" version = "1.0.56"
@ -815,7 +854,7 @@ dependencies = [
"flate2", "flate2",
"futures-util", "futures-util",
"hyper", "hyper",
"metrics", "metrics 0.21.0",
"metrics-exporter-prometheus", "metrics-exporter-prometheus",
"serde", "serde",
"serde_json", "serde_json",

View File

@ -23,6 +23,6 @@ tokio-util = { version = "0.7.8", features = ["io"] }
futures-util = "0.3.28" futures-util = "0.3.28"
uuid = { version = "1.3.2", features = ["v4"] } uuid = { version = "1.3.2", features = ["v4"] }
serde_json = "1.0.96" serde_json = "1.0.96"
metrics = "0.20.1" metrics = "0.21.0"
metrics-exporter-prometheus = "0.11.0" metrics-exporter-prometheus = "0.11.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }