Skip to content

Commit 7297536

Browse files
committed
fix(ci): allow cargo package dry run
1 parent 23cc6e7 commit 7297536

File tree

6 files changed

+46
-13
lines changed

6 files changed

+46
-13
lines changed

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[patch.crates-io]
2+
masterror-derive = { path = "masterror-derive" }
3+
masterror-template = { path = "masterror-template" }

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ All notable changes to this project will be documented in this file.
88
end-to-end examples in the derive guide ([README](README.md#structured-telemetry-providers-and-apperror-mappings),
99
[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)).
1010

11+
## [0.10.4] - 2025-09-20
12+
13+
### Fixed
14+
- Ensured `cargo package --locked` passes by switching workspace dependencies on
15+
`masterror-derive` / `masterror-template` to registry entries and overriding
16+
them locally through `.cargo/config`, keeping CI dry runs green without
17+
breaking local development.
18+
1119
## [0.10.2] - 2025-10-23
1220

1321
### Added

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: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "masterror"
3-
version = "0.10.3"
3+
version = "0.10.4"
44
rust-version = "1.90"
55
edition = "2024"
66
license = "MIT OR Apache-2.0"
@@ -11,6 +11,28 @@ documentation = "https://docs.rs/masterror"
1111
build = "build.rs"
1212
categories = ["rust-patterns", "web-programming"]
1313
keywords = ["error", "api", "framework"]
14+
include = [
15+
"Cargo.toml",
16+
"Cargo.lock",
17+
"build.rs",
18+
"src/**",
19+
"tests/**",
20+
"README.md",
21+
"README.ru.md",
22+
"README.template.md",
23+
"CHANGELOG.md",
24+
"LICENSE-APACHE",
25+
"LICENSE-MIT",
26+
"Makefile.toml",
27+
"deny.toml",
28+
"idea.md",
29+
"target.md",
30+
"build/**",
31+
"masterror-derive/**",
32+
"masterror-template/**",
33+
".cargo/audit.toml",
34+
".cargo/config.toml"
35+
]
1436

1537
[workspace]
1638
members = ["masterror-derive", "masterror-template"]
@@ -49,8 +71,8 @@ turnkey = []
4971
openapi = ["dep:utoipa"]
5072

5173
[workspace.dependencies]
52-
masterror-derive = { version = "0.6.0", path = "masterror-derive" }
53-
masterror-template = { version = "0.3.1", path = "masterror-template" }
74+
masterror-derive = { version = "0.6.0" }
75+
masterror-template = { version = "0.3.1" }
5476

5577
[dependencies]
5678
masterror-derive = { workspace = true }

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Stable categories, conservative HTTP mapping, no `unsafe`.
2929

3030
~~~toml
3131
[dependencies]
32-
masterror = { version = "0.10.3", default-features = false }
32+
masterror = { version = "0.10.4", default-features = false }
3333
# or with features:
34-
# masterror = { version = "0.10.3", features = [
34+
# masterror = { version = "0.10.4", features = [
3535
# "axum", "actix", "openapi", "serde_json",
3636
# "sqlx", "sqlx-migrate", "reqwest", "redis",
3737
# "validator", "config", "tokio", "multipart",
@@ -66,10 +66,10 @@ masterror = { version = "0.10.3", default-features = false }
6666
~~~toml
6767
[dependencies]
6868
# lean core
69-
masterror = { version = "0.10.3", default-features = false }
69+
masterror = { version = "0.10.4", default-features = false }
7070

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

625625
~~~toml
626-
masterror = { version = "0.10.3", default-features = false }
626+
masterror = { version = "0.10.4", default-features = false }
627627
~~~
628628

629629
API (Axum + JSON + deps):
630630

631631
~~~toml
632-
masterror = { version = "0.10.3", features = [
632+
masterror = { version = "0.10.4", features = [
633633
"axum", "serde_json", "openapi",
634634
"sqlx", "reqwest", "redis", "validator", "config", "tokio"
635635
] }
@@ -638,7 +638,7 @@ masterror = { version = "0.10.3", features = [
638638
API (Actix + JSON + deps):
639639

640640
~~~toml
641-
masterror = { version = "0.10.3", features = [
641+
masterror = { version = "0.10.4", features = [
642642
"actix", "serde_json", "openapi",
643643
"sqlx", "reqwest", "redis", "validator", "config", "tokio"
644644
] }

README.ru.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
~~~toml
2929
[dependencies]
3030
# минимальное ядро
31-
masterror = { version = "0.10.3", default-features = false }
31+
masterror = { version = "0.10.4", default-features = false }
3232
# или с нужными интеграциями
33-
# masterror = { version = "0.10.3", features = [
33+
# masterror = { version = "0.10.4", features = [
3434
# "axum", "actix", "openapi", "serde_json",
3535
# "sqlx", "sqlx-migrate", "reqwest", "redis",
3636
# "validator", "config", "tokio", "multipart",

0 commit comments

Comments
 (0)