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
h/t @elichai for a =ver dep instead of a patch

Ref: #119
  • Loading branch information
nabijaczleweli committed Dec 1, 2019
1 parent 9d5a73d commit afcfeb2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ exclude = ["*.enc"]

# Note: don't bump dependencies unless necessary to keep building on old rustc versions
[dependencies]
# 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
# h/t to @elichai in https://github.com/nabijaczleweli/cargo-update/issues/119#issuecomment-560116619
# for suggesting using a `=` dep instead of a patch
unicode-normalization="=0.1.9"
serde_derive = "1.0"
lazy_static = "1.4"
array_tool = "1.0"
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 afcfeb2

Please sign in to comment.