Section: Manifest repair snippets

Define workspace members explicitly

toml
toml
[workspace]
members = ["crates/my-cli", "crates/common"]
resolver = "2"
Explanation

When a package is missing from workspace commands, verify that it is listed under `members` or matched by a glob you intended.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Manifest repair snippets
Define an explicit binary target
Name and path a binary target clearly.
OpenIn sheettomlsame section
Declare optional dependencies with features
Avoid feature-resolution confusion.
OpenIn sheettomlsame section
Inspect resolved metadata
Print package and dependency metadata as JSON.
OpenIn sheetbash2 tag match
Locate the workspace root
Show the workspace root manifest path.
OpenIn sheetbash2 tag match
Build one workspace member
Select a specific package inside a workspace.
OpenIn sheetbash2 tag match
Run one package and one binary
Disambiguate package and binary target in a multi-package repo.
OpenIn sheetbash2 tag match