Update Rust crate metrics to 0.20.1
ci/woodpecker/push/deploy unknown status Details
ci/woodpecker/push/lint Pipeline was successful Details

pull/46/head
Renovate Bot 2022-07-22 15:01:57 +00:00
parent 9532fe8d29
commit 19679add85
2 changed files with 33 additions and 5 deletions

36
Cargo.lock generated
View File

@ -467,7 +467,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "142c53885123b68d94108295a09d4afe1a1388ed95b54d5dacd9a454753030f2" checksum = "142c53885123b68d94108295a09d4afe1a1388ed95b54d5dacd9a454753030f2"
dependencies = [ dependencies = [
"ahash", "ahash",
"metrics-macros", "metrics-macros 0.5.1",
]
[[package]]
name = "metrics"
version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b9b8653cec6897f73b519a43fba5ee3d50f62fe9af80b428accdcc093b4a849"
dependencies = [
"ahash",
"metrics-macros 0.6.0",
"portable-atomic",
] ]
[[package]] [[package]]
@ -479,7 +490,7 @@ dependencies = [
"hyper", "hyper",
"indexmap", "indexmap",
"ipnet", "ipnet",
"metrics", "metrics 0.19.0",
"metrics-util", "metrics-util",
"parking_lot 0.11.2", "parking_lot 0.11.2",
"quanta", "quanta",
@ -499,6 +510,17 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "metrics-macros"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "731f8ecebd9f3a4aa847dfe75455e4757a45da40a7793d2f0b1f9b6ed18b23f3"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]] [[package]]
name = "metrics-util" name = "metrics-util"
version = "0.13.0" version = "0.13.0"
@ -509,7 +531,7 @@ dependencies = [
"crossbeam-epoch", "crossbeam-epoch",
"crossbeam-utils", "crossbeam-utils",
"hashbrown", "hashbrown",
"metrics", "metrics 0.19.0",
"num_cpus", "num_cpus",
"parking_lot 0.11.2", "parking_lot 0.11.2",
"quanta", "quanta",
@ -675,6 +697,12 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
[[package]]
name = "portable-atomic"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "763095e04dcbeb889b2ab35296ecb18a20fe16b4e9877ce64aab73d8fd05a8c3"
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.37" version = "1.0.37"
@ -832,7 +860,7 @@ dependencies = [
"flate2", "flate2",
"futures-util", "futures-util",
"hyper", "hyper",
"metrics", "metrics 0.20.1",
"metrics-exporter-prometheus", "metrics-exporter-prometheus",
"serde", "serde",
"serde_json", "serde_json",

View File

@ -23,6 +23,6 @@ tokio-util = { version = "0.7.3", features = ["io"] }
futures-util = "0.3.21" futures-util = "0.3.21"
uuid = { version = "1.1.2", features = ["v4"] } uuid = { version = "1.1.2", features = ["v4"] }
serde_json = "1.0.82" serde_json = "1.0.82"
metrics = "0.19.0" metrics = "0.20.1"
metrics-exporter-prometheus = "0.10.0" metrics-exporter-prometheus = "0.10.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }