Skip to content

Commit 1542f68

Browse files
Upgrade metrics crate to 0.21 version (#5, #6)
- upgrade `metrics-util` crate to 0.15 version Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Ren <tyranron@gmail.com>
1 parent a0fe91d commit 1542f68

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ All user visible changes to this project will be documented in this file. This p
66

77

88

9+
## [0.4.0] · 2023-04-17
10+
[0.4.0]: /../../tree/v0.4.0
11+
12+
[Diff](/../../compare/v0.3.1...v0.4.0)
13+
14+
### BC Breaks
15+
16+
- Upgraded to 0.21 version of `metrics` crate. ([#5])
17+
- Upgraded to 0.15 version of `metrics-util` crate. ([#5], [#6])
18+
19+
[#5]: /../../pull/5
20+
[#6]: /../../pull/6
21+
22+
23+
24+
925
## [0.3.1] · 2023-01-24
1026
[0.3.1]: /../../tree/v0.3.1
1127

@@ -15,7 +31,7 @@ All user visible changes to this project will be documented in this file. This p
1531

1632
- `build()`, `build_freezable()` and `build_frozen()` methods to `recorder::Builder`, allowing to build the resulting `metrics::Recorder` without installing it as `metrics::recorder()`. ([#4])
1733

18-
[#3]: /../../pull/4
34+
[#4]: /../../pull/4
1935

2036

2137

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "metrics-prometheus"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
edition = "2021"
55
rust-version = "1.65"
66
description = "`prometheus` backend for `metrics` crate."
@@ -16,8 +16,8 @@ include = ["/src/", "/CHANGELOG.md", "/LICENSE.md", "/README.md"]
1616

1717
[dependencies]
1818
arc-swap = "1.5"
19-
metrics = { version = "0.20", default-features = false }
20-
metrics-util = { version = "0.14", features = ["registry"], default-features = false }
19+
metrics = { version = "0.21", default-features = false }
20+
metrics-util = { version = "0.15", features = ["registry"], default-features = false }
2121
once_cell = "1.16"
2222
prometheus = { version = "0.13", default-features = false }
2323
sealed = "0.4"
@@ -28,4 +28,4 @@ smallvec = "1.10"
2828
thiserror = "1.0.2"
2929

3030
[dev-dependencies]
31-
metrics-util = { version = "0.14", features = ["layer-filter"], default-features = false }
31+
metrics-util = { version = "0.15", features = ["layer-filter"], default-features = false }

0 commit comments

Comments
 (0)