Update the bundler xtask and cargo subcommand docs

This commit is contained in:
Robbert van der Helm
2022-03-02 11:19:35 +01:00
parent 9d5de10d16
commit 66012f9787
2 changed files with 9 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
# NIH-plug: bundler and other utilities
This is NIH-plug's `cargo xtask` command, but as a library. This way you can use
it in your own projects without forking this repo or copying the binary into
your own repo. This is necessary until Cargo supports [running binaries from
dependencies directly](https://github.com/rust-lang/rfcs/pull/3168).
it in your own projects without having to either fork this repo or vendor the
binary into your own repo. This is necessary until Cargo supports [running
binaries from dependencies
directly](https://github.com/rust-lang/rfcs/pull/3168).
To use this, add an `xtask` binary to your project using `cargo new --bin xtask`
and add it to the Cargo workspace in your repository's main `Cargo.toml` file: