Skip to content

Commit f643459

Browse files
committed
Auto merge of #10648 - Muscraft:update-workspace-inheritance-docs, r=epage
add `cargo-features` to unstable docs for workspace inheritance The unstable docs for workspace inheritance did not include `cargo-features = ["workspace-inheritance"]`. If a user were to follow the docs cargo would throw an error saying to `feature `workspace-inheritance` is required`. It would be better to explicitly add this to the unstable docs and remove it during stabilization. r? `@epage`
2 parents b3f6772 + 7063248 commit f643459

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/src/reference/unstable.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,8 @@ documentation = "https://example.github.io/example"
12561256

12571257
```toml
12581258
# [PROGECT_DIR]/bar/Cargo.toml
1259+
cargo-features = ["workspace-inheritance"]
1260+
12591261
[package]
12601262
name = "bar"
12611263
version.workspace = true
@@ -1290,6 +1292,8 @@ dep-dev = "0.5.2"
12901292

12911293
```toml
12921294
# [PROGECT_DIR]/bar/Cargo.toml
1295+
cargo-features = ["workspace-inheritance"]
1296+
12931297
[project]
12941298
name = "bar"
12951299
version = "0.2.0"

0 commit comments

Comments
 (0)