]> git.proxmox.com Git - cargo.git/commit
Document cargo-add's feature message
authorVilem Liepelt <17603372+buggymcbugfix@users.noreply.github.com>
Tue, 30 Aug 2022 20:58:34 +0000 (22:58 +0200)
committerVilem Liepelt <17603372+buggymcbugfix@users.noreply.github.com>
Tue, 30 Aug 2022 20:58:34 +0000 (22:58 +0200)
commit9c8a8ea2ca4ebb043ab4895203e3358e69533404
tree4213a1cef179076a691f240b35d2cd01a169a5de
parent4ed54cecce3ce9ab6ff058781f4c8a500ee6b8b5
Document cargo-add's feature message

This refers to the `Features` part of the message that gets printed to
stderr after successfully adding some dependency, e.g.:

```
cargo add my-crate
    Updating crates.io index
      Adding my-crate v0.1.0 to dependencies.
             Features:
             + foo
             - bar
```

This tells us that the `foo` feature is enabled and `bar` is disabled.
src/doc/man/cargo-add.md
src/doc/man/generated_txt/cargo-add.txt
src/doc/src/commands/cargo-add.md
src/etc/man/cargo-add.1