Skip to content

Commit cd5f384

Browse files
committed
chore: prepare 0.4.2
1 parent 3c25226 commit cd5f384

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# 0.4.2 (April 30th, 2025)
2+
3+
### Fixed
4+
- docs: specify metrics-rs-integration feature dependency for relevant APIs ([#78])
5+
- docs: fix links ([#79])
6+
7+
[#78]: https://github.com/tokio-rs/tokio-metrics/pull/78
8+
[#79]: https://github.com/tokio-rs/tokio-metrics/pull/79
9+
110
# 0.4.1 (April 20th, 2025)
211

312
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tokio-metrics"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
edition = "2021"
55
rust-version = "1.70.0"
66
authors = ["Tokio Contributors <[email protected]>"]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runtime and per-task metrics.
2222

2323
```toml
2424
[dependencies]
25-
tokio-metrics = { version = "0.4.1", default-features = false }
25+
tokio-metrics = { version = "0.4.2", default-features = false }
2626
```
2727

2828
## Getting Started With Task Metrics
@@ -176,7 +176,7 @@ The `rt` feature of `tokio-metrics` is on by default; simply check that you do
176176
not set `default-features = false` when declaring it as a dependency; e.g.:
177177
```toml
178178
[dependencies]
179-
tokio-metrics = "0.4.1"
179+
tokio-metrics = "0.4.2"
180180
```
181181

182182
From within a Tokio runtime, use `RuntimeMonitor` to monitor key metrics of
@@ -213,7 +213,7 @@ If you want to use [Prometheus], you could have this `Cargo.toml`:
213213

214214
```toml
215215
[dependencies]
216-
tokio-metrics = { version = "0.4.1", features = ["metrics-rs-integration"] }
216+
tokio-metrics = { version = "0.4.2", features = ["metrics-rs-integration"] }
217217
metrics = "0.24"
218218
# You don't actually need to use the Prometheus exporter with uds-listener enabled,
219219
# it's just here as an example.

0 commit comments

Comments
 (0)