зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1836415 - Upgrade uniffi-bindgen-gecko-js to clap 4. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D179752
This commit is contained in:
Родитель
ea7c3612ca
Коммит
95467ef153
|
@ -11,7 +11,7 @@ path = "src/main.rs"
|
|||
[dependencies]
|
||||
anyhow = "1"
|
||||
askama = { version = "0.11", default-features = false, features = ["config"] }
|
||||
clap = { version = "3.1", default-features = false, features = ["std", "derive", "cargo"] }
|
||||
clap = { version = "4", default-features = false, features = ["std", "derive", "cargo"] }
|
||||
extend = "1.1"
|
||||
heck = "0.4"
|
||||
uniffi = { workspace = true }
|
||||
|
|
|
@ -39,10 +39,10 @@ struct CliArgs {
|
|||
#[clap(long, value_name = "FILE")]
|
||||
fixture_cpp_path: Utf8PathBuf,
|
||||
|
||||
#[clap(long, multiple_values = true, value_name = "FILES")]
|
||||
#[clap(long, num_args = 1.., value_name = "FILES")]
|
||||
udl_files: Vec<Utf8PathBuf>,
|
||||
|
||||
#[clap(long, multiple_values = true, value_name = "FILES")]
|
||||
#[clap(long, num_args = 1.., value_name = "FILES")]
|
||||
fixture_udl_files: Vec<Utf8PathBuf>,
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче