Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 31, 2025
1 parent dd0f8aa commit 1dce71a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ cargo hack publish --no-dev-deps --dry-run --allow-dirty
> [!NOTE]
> Currently, using `--no-dev-deps` flag removes dev-dependencies from
> real manifest while cargo-hack is running and restores it when finished.
> Any changes you made to those files during running will not be preserved.
> See [cargo#4242] for why this is necessary.
> Also, this behavior may change in the future on some subcommands. See also
> [#15].
Expand All @@ -412,7 +413,7 @@ Skip to perform on `publish = false` crates.
Perform without `publish = false` crates. This is similar to `--ignore-private`, but is more powerful because this also prevents private crates from affecting lockfile and metadata.

> [!NOTE]
> `--no-private` flag modifies `Cargo.toml` while cargo-hack is running and restores it when finished.
> `--no-private` flag modifies `Cargo.toml` while cargo-hack is running and restores it when finished. Any changes you made to those files during running will not be preserved.
<!-- omit in toc -->
### --ignore-unknown-features
Expand Down

0 comments on commit 1dce71a

Please sign in to comment.