Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [0.24.2] - 2025-10-18

### Added
- Introduced a Criterion benchmark (`benches/error_paths.rs`) covering
`Context::into_error` redaction scenarios and `ProblemJson::from_app_error`
conversions to track serialization hot paths.
- Documented the benchmarking workflow in the README and exposed the suite via
`cargo bench --bench error_paths` with the default harness disabled.

## [0.24.1] - 2025-10-17

### Fixed
Expand Down
247 changes: 246 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "masterror"
version = "0.24.1"
version = "0.24.2"
rust-version = "1.90"
edition = "2024"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -134,6 +134,7 @@ tonic = { version = "0.14", optional = true }

[dev-dependencies]
anyhow = { version = "1", default-features = false, features = ["std"] }
criterion = "0.5"
serde_json = "1"
tokio = { version = "1", features = [
"macros",
Expand All @@ -146,6 +147,10 @@ toml = "0.9"
tempfile = "3"
tracing-subscriber = { version = "0.3", features = ["registry"] }

[[bench]]
name = "error_paths"
harness = false

[build-dependencies]
serde = { version = "1", features = ["derive"] }
toml = "0.9"
Expand Down
Loading
Loading