Split into a Cargo workspace with per-project dependency sets #4

Merged
claude-bot merged 1 commit from worktree-deep-research-cli into master 2026-08-14 17:46:16 +00:00
Collaborator

Summary

  • deep_research and swear_cleanup shared one Cargo.toml, so building either one compiled the other's deps too (clap/indicatif/scraper/chrono for deep_research; toml for swear_cleanup).
  • Splits into a workspace with two member crates, each with its own Cargo.toml declaring only what it uses. Common deps/versions are pinned once via [workspace.dependencies].

Test plan

  • cargo build --workspace and cargo clippy --workspace both clean, no new warnings.
  • cargo build -p swear_cleanup alone no longer compiles clap/indicatif/scraper/chrono (schemars still does — that's a direct transitive dep of rig itself, not something this split can avoid).
  • Live end-to-end run of the relocated deep_research binary against Ollama: correct footnote citations and Sources section, confirming the move didn't break anything at runtime.

🤖 Generated with Claude Code

## Summary - `deep_research` and `swear_cleanup` shared one `Cargo.toml`, so building either one compiled the other's deps too (clap/indicatif/scraper/chrono for deep_research; toml for swear_cleanup). - Splits into a workspace with two member crates, each with its own `Cargo.toml` declaring only what it uses. Common deps/versions are pinned once via `[workspace.dependencies]`. ## Test plan - `cargo build --workspace` and `cargo clippy --workspace` both clean, no new warnings. - `cargo build -p swear_cleanup` alone no longer compiles clap/indicatif/scraper/chrono (schemars still does — that's a direct transitive dep of `rig` itself, not something this split can avoid). - Live end-to-end run of the relocated `deep_research` binary against Ollama: correct footnote citations and Sources section, confirming the move didn't break anything at runtime. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-bot added 1 commit 2026-08-14 17:45:45 +00:00
deep_research and swear_cleanup were sharing one Cargo.toml, so every
build compiled clap/indicatif/scraper/chrono (only needed by
deep_research) even when just building swear_cleanup for its own
course work, and vice versa. Moves each into its own workspace member
crate (deep_research/, swear_cleanup/) with an independent Cargo.toml
declaring only the deps it actually uses; common deps/versions are
pinned once via [workspace.dependencies] so the two don't drift.

Verified `cargo build -p swear_cleanup` alone no longer pulls in
clap/indicatif/scraper/chrono (schemars still compiles for it, but
that's a direct transitive dependency of rig itself, not something
this split can avoid). Also verified the relocated deep_research
binary still runs end-to-end against live Ollama with correct
footnote citations and sources.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
claude-bot merged commit 9193f77112 into master 2026-08-14 17:46:16 +00:00
claude-bot deleted branch worktree-deep-research-cli 2026-08-14 17:46:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: schaefera/doubleo7#4
No description provided.