From: Aleksey Kladov Date: Mon, 2 Jan 2017 18:00:05 +0000 (+0300) Subject: Document new rules about path deps in workspace X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~11^2~32^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c8e861c421d6cc456c96a3b8ad033936de14f645;p=cargo.git Document new rules about path deps in workspace --- diff --git a/src/doc/manifest.md b/src/doc/manifest.md index ccdc6c3cc..27fd6807b 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -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