Skip to content

Commit 09fc538

Browse files
committed
Update 0.7.0
1 parent d9891bd commit 09fc538

7 files changed

Lines changed: 21 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
</p>
1010

1111
## [Unreleased]
12+
13+
14+
<br>
15+
16+
## [0.7.0] - 2025-08-30
1217
### Changed
1318
- BREAKING: Refactored feature flags to a clearer model. New flags:
1419
- `benchmark` (default): enables real timing and benchmarking macros; implies `std` internally.
@@ -29,6 +34,7 @@
2934
- For consumers of `Collector`/histogram only: use `features = ["collector"]`.
3035

3136

37+
3238
<br>
3339

3440
## [0.6.0] - 2025-08-29
@@ -245,7 +251,7 @@ Initial pre-dev release for backup.
245251

246252

247253

248-
[Unreleased]: https://github.com/jamesgober/rust-benchmark/compare/v0.6.0...HEAD
254+
[Unreleased]: https://github.com/jamesgober/rust-benchmark/compare/v0.7.0...HEAD
249255
[0.8.0]: https://github.com/jamesgober/rust-benchmark/compare/v0.7.0...v0.8.0
250256
[0.7.0]: https://github.com/jamesgober/rust-benchmark/compare/v0.6.0...v0.7.0
251257
[0.6.0]: https://github.com/jamesgober/rust-benchmark/compare/v0.5.8...v0.6.0

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#╚═══════════╩══════════════════════════════════╩════════════╝
1111
[package]
1212
name = "benchmark"
13-
version = "0.6.0"
13+
version = "0.7.0"
1414
edition = "2021"
1515

1616
# Minimum Supported Rust Version (MSRV)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Add this to your `Cargo.toml`:
111111

112112
```toml
113113
[dependencies]
114-
benchmark = "0.6.0"
114+
benchmark = "0.7.0"
115115
```
116116

117117
<br>
@@ -123,7 +123,7 @@ benchmark = "0.6.0"
123123
[dependencies]
124124

125125
# Enables Production & Development.
126-
benchmark = { version = "0.6.0", features = ["standard"] }
126+
benchmark = { version = "0.7.0", features = ["standard"] }
127127
```
128128

129129
<br>
@@ -134,7 +134,7 @@ Enable production observability using `Watch`/`Timer` or the `stopwatch!` macro.
134134
Cargo features:
135135
```toml
136136
[dependencies]
137-
benchmark = { version = "0.6.0", features = ["std", "metrics"] }
137+
benchmark = { version = "0.7.0", features = ["std", "metrics"] }
138138
```
139139

140140
Record with `Timer` (auto-record on drop):
@@ -169,7 +169,7 @@ assert!(watch.snapshot()["render"].count >= 1);
169169
```toml
170170
[dependencies]
171171
# Disable default features for true zero-overhead
172-
benchmark = { version = "0.6.0", default-features = false }
172+
benchmark = { version = "0.7.0", default-features = false }
173173
```
174174
<br>
175175

docs/API.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
Add this to your `Cargo.toml`:
7777
```toml
7878
[dependencies]
79-
benchmark = "0.6.0"
79+
benchmark = "0.7.0"
8080
```
8181

8282
<br>
@@ -97,7 +97,7 @@ Add this to your `Cargo.toml`:
9797
```toml
9898
[dependencies]
9999
# Disable default features for true zero-overhead
100-
benchmark = { version = "0.6.0", default-features = false }
100+
benchmark = { version = "0.7.0", default-features = false }
101101
```
102102

103103
<br>
@@ -421,7 +421,7 @@ Provides production-friendly timing and percentile statistics with negligible ov
421421
Installation with feature:
422422
```toml
423423
[dependencies]
424-
benchmark = { version = "0.6.0", features = ["metrics"] }
424+
benchmark = { version = "0.7.0", features = ["metrics"] }
425425
```
426426

427427
### Watch

docs/features/BENCHMARK.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ The <b>benchmark</b> feature provides a lightweight, statistically-sound toolkit
5555
[dependencies]
5656

5757
# Benchmark is enabled by default.
58-
benchmark = "0.6.0"
58+
benchmark = "0.7.0"
5959

6060
# or enable benchmark explicitly.
61-
benchmark = { version = "0.6.0", features = ["benchmark"]}
61+
benchmark = { version = "0.7.0", features = ["benchmark"]}
6262
```
6363
> ⚙️ Add directly to your `Cargo.toml`.
6464

docs/features/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Notes:
7676
#### Manual installation:
7777
```toml
7878
[dependencies]
79-
benchmark = "0.6.0" # default features enabled (benchmark + collector)
79+
benchmark = "0.7.0" # default features enabled (benchmark + collector)
8080
```
8181
> ⚙️ Add directly to your `Cargo.toml`.
8282
@@ -104,7 +104,7 @@ Enables the [**`benchmark`**](./BENCHMARK.md) feature.
104104
#### Manual installation:
105105
```toml
106106
[dependencies]
107-
benchmark = { version = "0.6.0", features = ["metrics"]}
107+
benchmark = { version = "0.7.0", features = ["metrics"]}
108108
```
109109

110110
#### Terminal
@@ -128,7 +128,7 @@ cargo add benchmark -F metrics
128128
#### Manual installation:
129129
```toml
130130
[dependencies]
131-
benchmark = { version = "0.6.0", default-features = false }
131+
benchmark = { version = "0.7.0", default-features = false }
132132
```
133133
> ⚙️ Add directly to your `Cargo.toml`.
134134

0 commit comments

Comments
 (0)