Update dependencies. Use Clap 3.0.0-beta2 instead of StructOpt

This commit is contained in:
Syrus Akbary
2021-03-03 21:47:49 -08:00
parent 1ee7b4a07f
commit 392f50a1af
21 changed files with 301 additions and 330 deletions

View File

@@ -1,17 +1,17 @@
use crate::store::StoreOptions;
use anyhow::{Context, Result};
use clap::Clap;
use std::path::PathBuf;
use structopt::StructOpt;
use wasmer::*;
#[derive(Debug, StructOpt)]
#[derive(Debug, Clap)]
/// The options for the `wasmer validate` subcommand
pub struct Validate {
/// File to validate as WebAssembly
#[structopt(name = "FILE", parse(from_os_str))]
#[clap(name = "FILE", parse(from_os_str))]
path: PathBuf,
#[structopt(flatten)]
#[clap(flatten)]
store: StoreOptions,
}