Skip to content

Commit

Permalink
add cargo-features to unstable docs for workspace inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
Muscraft committed May 10, 2022
1 parent b3f6772 commit 7063248
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -1256,6 +1256,8 @@ documentation = "https://example.github.io/example"

```toml
# [PROGECT_DIR]/bar/Cargo.toml
cargo-features = ["workspace-inheritance"]

[package]
name = "bar"
version.workspace = true
Expand Down Expand Up @@ -1290,6 +1292,8 @@ dep-dev = "0.5.2"

```toml
# [PROGECT_DIR]/bar/Cargo.toml
cargo-features = ["workspace-inheritance"]

[project]
name = "bar"
version = "0.2.0"
Expand Down

0 comments on commit 7063248

Please sign in to comment.