Auto merge of #13305 - linyihai:issue-13289, r=epage

doc: add a heading to highlight "How to find features enabled on dependencies"

### What does this PR try to resolve?

Maybe fixes https://github.com/rust-lang/cargo/issues/13289

Add a title to highlight "How to find features enabled on dependencies"?

### How should we test and review this PR?

### Additional information
This commit is contained in:
bors 2024-01-16 16:56:57 +00:00
commit 1cff2ee6b9

View file

@ -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