Update build dependencies

This needed also some adaption in order to use `clap 3.0.0-rc.0`.
This commit is contained in:
finga 2021-12-09 13:40:17 +01:00
parent 2c3319ad84
commit 856cdc9457
3 changed files with 35 additions and 53 deletions

View file

@ -1,4 +1,4 @@
use clap::{crate_authors, crate_version, AppSettings, Parser};
use clap::{AppSettings, Parser};
#[derive(Debug, Parser)]
pub enum Command {
@ -8,8 +8,9 @@ pub enum Command {
#[derive(Debug, Parser)]
#[clap(
version = crate_version!(),
author = crate_authors!(", "),
about,
version,
author,
global_setting = AppSettings::InferSubcommands,
global_setting = AppSettings::PropagateVersion,
)]