From 65ae06d8571e9a06f81f1ff7b8da9c143f60d947 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 17 Aug 2023 05:43:09 +0000 Subject: [PATCH] Document MODCARGO_INSTALL_TARGET_PATH --- share/man/man5/cargo-module.5 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/share/man/man5/cargo-module.5 b/share/man/man5/cargo-module.5 index afe6c9c3f2c..3538714b0a3 100644 --- a/share/man/man5/cargo-module.5 +++ b/share/man/man5/cargo-module.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cargo-module.5,v 1.4 2021/07/25 11:29:42 espie Exp $ +.\" $OpenBSD: cargo-module.5,v 1.5 2023/08/17 05:43:09 tb Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" Copyright (c) 2017 Daniel Jakots @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 25 2021 $ +.Dd $Mdocdate: August 17 2023 $ .Dt CARGO-MODULE 5 .Os .Sh NAME @@ -85,7 +85,7 @@ By default is used to download the crates. .Pp This module defines: -.Bl -tag -width MODCARGO_CRATES_UPDATE +.Bl -tag -width MODCARGO_INSTALL_TARGET_PATH .It MODCARGO_CARGOTOML Path to cargo manifest. Defaults to @@ -96,6 +96,12 @@ Crates that will be downloaded by the module. List of crates to update, overriding the version listed in Cargo.lock. .It MODCARGO_FEATURES List of features to be used when building. +.It MODCARGO_INSTALL_TARGET_PATH +Path to pass to +.Cm cargo install +instead of +.Pa \&. . +Needs to be set for some virtual manifests. .It MODCARGO_VENDOR_DIR Name of the local directory for vendoring crates. Defaults to -- 2.20.1