Skip to content

Commit

Permalink
doc: add a heading to highlight "How to find features enabled on depe…
Browse files Browse the repository at this point in the history
…ndencies"
  • Loading branch information
linyihai committed Jan 16, 2024
1 parent 350098d commit aa9a1cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/doc/src/reference/resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,9 @@ rand v0.8.5
└── ...
```

You might identify that it was an activated feature that caused `rand` to show up. To figure out which package activated the feature, you can add the `--edges features`
### Why was that feature on this dependency enabled?

You might identify that it was an activated feature that caused `rand` to show up. **To figure out which package activated the feature, you can add the `--edges features`**
```console
$ cargo tree --workspace --target all --all-features --edges features --invert rand
rand v0.8.5
Expand Down

0 comments on commit aa9a1cf

Please sign in to comment.