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
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[patch.crates-io]
masterror-derive = { path = "masterror-derive" }
masterror-template = { path = "masterror-template" }
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ All notable changes to this project will be documented in this file.
end-to-end examples in the derive guide ([README](README.md#structured-telemetry-providers-and-apperror-mappings),
[README.ru](README.ru.md#%D0%B0%D1%82%D1%80%D0%B8%D0%B1%D1%83%D1%82%D1%8B-provide-%D0%B8-apperror)).

## [0.10.4] - 2025-09-20

### Fixed
- Ensured `cargo package --locked` passes by switching workspace dependencies on
`masterror-derive` / `masterror-template` to registry entries and overriding
them locally through `.cargo/config`, keeping CI dry runs green without
breaking local development.

## [0.10.2] - 2025-10-23

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

28 changes: 25 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "masterror"
version = "0.10.3"
version = "0.10.4"
rust-version = "1.90"
edition = "2024"
license = "MIT OR Apache-2.0"
Expand All @@ -11,6 +11,28 @@ documentation = "https://docs.rs/masterror"
build = "build.rs"
categories = ["rust-patterns", "web-programming"]
keywords = ["error", "api", "framework"]
include = [
"Cargo.toml",
"Cargo.lock",
"build.rs",
"src/**",
"tests/**",
"README.md",
"README.ru.md",
"README.template.md",
"CHANGELOG.md",
"LICENSE-APACHE",
"LICENSE-MIT",
"Makefile.toml",
"deny.toml",
"idea.md",
"target.md",
"build/**",
"masterror-derive/**",
"masterror-template/**",
".cargo/audit.toml",
".cargo/config.toml"
]

[workspace]
members = ["masterror-derive", "masterror-template"]
Expand Down Expand Up @@ -49,8 +71,8 @@ turnkey = []
openapi = ["dep:utoipa"]

[workspace.dependencies]
masterror-derive = { version = "0.6.0", path = "masterror-derive" }
masterror-template = { version = "0.3.1", path = "masterror-template" }
masterror-derive = { version = "0.6.0" }
masterror-template = { version = "0.3.1" }

[dependencies]
masterror-derive = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Stable categories, conservative HTTP mapping, no `unsafe`.

~~~toml
[dependencies]
masterror = { version = "0.10.3", default-features = false }
masterror = { version = "0.10.4", default-features = false }
# or with features:
# masterror = { version = "0.10.3", features = [
# masterror = { version = "0.10.4", features = [
# "axum", "actix", "openapi", "serde_json",
# "sqlx", "sqlx-migrate", "reqwest", "redis",
# "validator", "config", "tokio", "multipart",
Expand Down Expand Up @@ -66,10 +66,10 @@ masterror = { version = "0.10.3", default-features = false }
~~~toml
[dependencies]
# lean core
masterror = { version = "0.10.3", default-features = false }
masterror = { version = "0.10.4", default-features = false }

# with Axum/Actix + JSON + integrations
# masterror = { version = "0.10.3", features = [
# masterror = { version = "0.10.4", features = [
# "axum", "actix", "openapi", "serde_json",
# "sqlx", "sqlx-migrate", "reqwest", "redis",
# "validator", "config", "tokio", "multipart",
Expand Down Expand Up @@ -623,13 +623,13 @@ assert_eq!(resp.status, 401);
Minimal core:

~~~toml
masterror = { version = "0.10.3", default-features = false }
masterror = { version = "0.10.4", default-features = false }
~~~

API (Axum + JSON + deps):

~~~toml
masterror = { version = "0.10.3", features = [
masterror = { version = "0.10.4", features = [
"axum", "serde_json", "openapi",
"sqlx", "reqwest", "redis", "validator", "config", "tokio"
] }
Expand All @@ -638,7 +638,7 @@ masterror = { version = "0.10.3", features = [
API (Actix + JSON + deps):

~~~toml
masterror = { version = "0.10.3", features = [
masterror = { version = "0.10.4", features = [
"actix", "serde_json", "openapi",
"sqlx", "reqwest", "redis", "validator", "config", "tokio"
] }
Expand Down
4 changes: 2 additions & 2 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
~~~toml
[dependencies]
# минимальное ядро
masterror = { version = "0.10.3", default-features = false }
masterror = { version = "0.10.4", default-features = false }
# или с нужными интеграциями
# masterror = { version = "0.10.3", features = [
# masterror = { version = "0.10.4", features = [
# "axum", "actix", "openapi", "serde_json",
# "sqlx", "sqlx-migrate", "reqwest", "redis",
# "validator", "config", "tokio", "multipart",
Expand Down
Loading