Add config option for CargoArgs

This commit is contained in:
fgh1999
2024-04-19 16:49:47 +00:00
committed by Tate, Hongliang Tian
parent 0c60a2a667
commit 94550dd5c6
3 changed files with 18 additions and 9 deletions

View File

@ -190,6 +190,12 @@ pub struct CargoArgs {
pub release: bool,
#[arg(long, value_name = "FEATURES", help = "List of features to activate")]
pub features: Vec<String>,
#[arg(
long = "config",
help = "Override a configuration value",
value_name = "KEY=VALUE"
)]
pub override_configs: Vec<String>,
}
#[derive(Debug, Args)]