Skip to content

Commit 670f72b

Browse files
committed
cargo-rail: major clean up; micro perf wins; impoving the DX/CLI usage
1 parent 507058a commit 670f72b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2357
-1411
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ clap = { version = "4.5.53", features = ["derive", "cargo"] }
2424
cargo_metadata = "0.23.1"
2525
petgraph = "0.8.3"
2626
toml_edit = { version = "0.23.7", features = ["serde"] }
27-
anyhow = "1.0.100"
2827
serde = { version = "1.0.228", features = ["derive"] }
2928
serde_json = "1.0.145"
3029
semver = "1.0.27"
@@ -34,6 +33,7 @@ chrono = "0.4.42"
3433
glob = "0.3.3"
3534

3635
[dev-dependencies]
36+
anyhow = "1.0.100"
3737
tempfile = "3.23.0"
3838

3939
[[test]]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MIT License
1+
# MIT License
22

33
Copyright (c) 2025 loadingalias
44

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ TOML: comments and formatting preserved
7575
### Split crates with full git history
7676
7777
```bash
78-
$ cargo rail split my-crate
78+
$ cargo rail split run my-crate
7979
8080
Extracted my-crate to standalone repo
8181
347 commits preserved
@@ -105,7 +105,7 @@ Bidirectional sync with safety guardrails. Changes from external contributors co
105105
### Release with dependency ordering
106106
107107
```bash
108-
$ cargo rail release --all --bump minor
108+
$ cargo rail release run --all --bump minor --check
109109
110110
Planning release:
111111
1. core 0.4.2 → 0.5.0
@@ -115,7 +115,7 @@ Planning release:
115115
Changelog generated from conventional commits
116116
117117
118-
--execute to publish (dry-run by default)
118+
Run without --check to apply.
119119
```
120120
121121
Native changelog generation. Configurable publish delays. GitHub releases via `gh`.

0 commit comments

Comments
 (0)