This commit is contained in:
Jeehoon Kang
2021-06-21 18:45:39 +00:00
parent 2d8d1e7fb4
commit 4535b2ef6f
28 changed files with 696 additions and 370 deletions

View File

@@ -1,6 +1,4 @@
#[macro_use]
extern crate clap;
use clap::{crate_authors, crate_description, crate_version, App};
use clap::{crate_authors, crate_description, crate_version, load_yaml, App};
extern crate kecc;
@@ -9,7 +7,7 @@ use std::path::Path;
fn main() {
let yaml = load_yaml!("fuzz_cli.yml");
#[allow(deprecated)]
let matches = App::from_yaml(yaml)
let matches = App::from(yaml)
.version(crate_version!())
.about(crate_description!())
.author(crate_authors!(", "))