Skip to content

Commit

Permalink
Add $CARGO_INSTALL_OPTS to manpage. Fix Rust 1.35.0 builds
Browse files Browse the repository at this point in the history
Ref: #119
  • Loading branch information
nabijaczleweli committed Dec 1, 2019
1 parent 9d5a73d commit 437996b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ features = ["serde"]
embed-resource = "1.3"


# https://travis-ci.org/nabijaczleweli/cargo-update/jobs/619241497#L222 broke 1.35.0 with smallvec 1.0.0,
# required by unicode-normalization 0.1.11. Previous working build is
# https://travis-ci.org/nabijaczleweli/cargo-update/jobs/611381166#L271 with unicode-normalization 0.1.9
[patch.crates-io]
unicode-normalization = { version = "0.1.9" }


[[bin]]
name = "cargo-install-update"
path = "src/main.rs"
Expand Down
5 changes: 5 additions & 0 deletions man/cargo-install-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Updates packages from the main repository and git repositories.

See cargo-install-update-config(1) for further configuring updates.

The `CARGO_INSTALL_OPTS` environment variable can be set,
containing options to forward to the end of `cargo install` invocations'
argument lists.
Note, that cargo-install-update-config(1) is preferred in the general case.

Exit values and possible errors:

-1 - cargo subprocess was terminated by a signal (Linux-only)
Expand Down

0 comments on commit 437996b

Please sign in to comment.