th: a command-line client for Tangled. The maintained continuation of dzejkop.space/tangled-cli (tang)

cargo run runs th: default-members excludes xtask #1

Merged 7778777.online
targeting main from joshka.net/tanghole:joshka/cargo-run-default-th
Merged opened by and assigned to 7778777.online
targeting main from joshka.net/tanghole:joshka/cargo-run-default-th

cargo run in the workspace root failed with "could not determine which binary to run" because both th and xtask are workspace binaries.

This sets default-members = ["crates/*"] so the plain cargo commands (run, build, test, clippy) cover the three tanghole crates and leave out xtask:

  • cargo run -- <args> runs th.
  • cargo xtask ... is unchanged; its alias selects -p xtask.
  • CI is unaffected: every step passes --workspace or uses cargo xtask.

Checked locally: fmt, xtask codegen --check, check, clippy -D warnings and test --workspace (81 passed).

🤖 Generated with Claude Code

Commits 0