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>
12 lines
345 B
TOML
12 lines
345 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["deep_research", "swear_cleanup"]
|
|
|
|
[workspace.dependencies]
|
|
anyhow = "1.0.104"
|
|
reqwest = "0.13.4"
|
|
rig = "0.41.0"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
tokio = { version = "1.53.1", features = ["full"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|