Skip to content

Commit afcfeb2

Browse files
Add $CARGO_INSTALL_OPTS to manpage. Fix Rust 1.35.0 builds
h/t @elichai for a =ver dep instead of a patch Ref: #119
1 parent 9d5a73d commit afcfeb2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ exclude = ["*.enc"]
3030

3131
# Note: don't bump dependencies unless necessary to keep building on old rustc versions
3232
[dependencies]
33+
# https://travis-ci.org/nabijaczleweli/cargo-update/jobs/619241497#L222 broke 1.35.0 with smallvec 1.0.0,
34+
# required by unicode-normalization 0.1.11. Previous working build is
35+
# https://travis-ci.org/nabijaczleweli/cargo-update/jobs/611381166#L271 with unicode-normalization 0.1.9
36+
# h/t to @elichai in https://github.com/nabijaczleweli/cargo-update/issues/119#issuecomment-560116619
37+
# for suggesting using a `=` dep instead of a patch
38+
unicode-normalization="=0.1.9"
3339
serde_derive = "1.0"
3440
lazy_static = "1.4"
3541
array_tool = "1.0"

man/cargo-install-update.md

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Updates packages from the main repository and git repositories.
1616

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

19+
The `CARGO_INSTALL_OPTS` environment variable can be set,
20+
containing options to forward to the end of `cargo install` invocations'
21+
argument lists.
22+
Note, that cargo-install-update-config(1) is preferred in the general case.
23+
1924
Exit values and possible errors:
2025

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

0 commit comments

Comments
 (0)