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:
Mike Hommey 2023-06-07 22:44:15 +00:00
Родитель ea7c3612ca
Коммит 95467ef153
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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>,
}