From 437996bbee7f77c7880a7f498488ea3eb7880362 Mon Sep 17 00:00:00 2001 From: nabijaczleweli Date: Wed, 20 Nov 2019 07:52:24 +0100 Subject: [PATCH] Add $CARGO_INSTALL_OPTS to manpage. Fix Rust 1.35.0 builds Ref: #119 --- Cargo.toml | 7 +++++++ man/cargo-install-update.md | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b96440ba52..a791ddaca1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/man/cargo-install-update.md b/man/cargo-install-update.md index ab921b7c03..95400f981e 100644 --- a/man/cargo-install-update.md +++ b/man/cargo-install-update.md @@ -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)