Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/book/src/reference/workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ should be an array of strings containing directories with `Cargo.toml` files.
The `members` list also supports [globs] to match multiple paths, using
typical filename glob patterns like `*` and `?`.

**Recommendation:** Keep all member packages in a flat directory (commonly `crates/`)
and use a glob pattern for the `members` field, e.g.
`members = ["crates/*"]`. This minimizes churn in maintaining the `members` list.

The `exclude` key can be used to prevent paths from being included in a
Comment thread
raushan728 marked this conversation as resolved.
Comment thread
raushan728 marked this conversation as resolved.
workspace. This can be useful if some path dependencies aren't desired to be
in the workspace at all, or using a glob pattern and you want to remove a
Expand Down
Loading