Skip to content

Commit

Permalink
Document new rules about path deps in workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Jan 14, 2017
1 parent 07c667f commit c8e861c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/doc/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,11 @@ properties:

[RFC 1525]: https://github.com/rust-lang/rfcs/blob/master/text/1525-cargo-workspace.md

The root crate of a workspace, indicated by the presence of `[workspace]` in
its manifest, is responsible for defining the entire workspace (listing all
members). This can be done through the `members` key, and if it is omitted then
members are implicitly included through all `path` dependencies. Note that
members of the workspaces listed explicitly will also have their path
The root crate of a workspace, indicated by the presence of `[workspace]` in its
manifest, is responsible for defining the entire workspace. All `path`
dependencies residing in the workspace directory become members. You can add
additional packages to the workspace by listing them in the `members` key. Note
that members of the workspaces listed explicitly will also have their path
dependencies included in the workspace.

The `package.workspace` manifest key (described above) is used in member crates
Expand Down

0 comments on commit c8e861c

Please sign in to comment.