#1148581 cargo install wrapper fails for virtual manifest files

Package:
cargo
Source:
cargo
Description:
Rust package manager
Submitter:
Reuben Roessler
Date:
2026-09-21 07:23:02 UTC
Severity:
normal
Tags:
#1148581#5
Date:
2026-09-21 07:21:32 UTC
From:
To:
Dear Maintainer,

The wrapper for cargo install forces the --path option for "cargo install" to the current working directory. This fails for projects which use a virtual manifest file (eg: declares a [workspace] instead of a [package]).

I am submitting a patch that will allow developers to override the installation path option so that they can install a selected crate.

Thanks,

Reuben