Skip to content

Commit b340450

Browse files
nikomatsakisclaude
andcommitted
refactor: replace subprocess calls with library functions
Converts CLI subprocess calls to direct library function calls for better integration and performance. Updates mdbook preprocessor to use library functions instead of spawning external processes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent d475d51 commit b340450

File tree

12 files changed

+1067
-316
lines changed

12 files changed

+1067
-316
lines changed

Cargo.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/mdbook-goals/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ edition = "2021"
55

66
[dependencies]
77
anyhow = "1.0.94"
8+
chrono = "0.4"
89
clap = { version = "4.5.23", features = ["derive"] }
910
mdbook = "0.4.52"
1011
regex = "1.11.1"
1112
rust-project-goals = { version = "0.1.0", path = "../rust-project-goals" }
13+
rust-project-goals-cli = { version = "0.1.0", path = "../rust-project-goals-cli" }
1214
semver = "1.0.23"
1315
serde_json = "1.0.133"

0 commit comments

Comments
 (0)