Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit 790ef79

Browse files
committed
Use clap_verbosity_flag crate
1 parent 5e49790 commit 790ef79

File tree

4 files changed

+18
-69
lines changed

4 files changed

+18
-69
lines changed

Cargo.lock

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ log = "0.4.1"
2121
env_logger = "0.5.3"
2222
glob = { version = "0.2.11", optional = true }
2323
rayon = { version = "1.0", optional = true }
24+
clap-verbosity-flag = "0.1.0"
2425

2526
[features]
2627
default = ["full-throttle"]

src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ extern crate failure;
2525
extern crate log;
2626
extern crate env_logger;
2727

28+
extern crate clap_verbosity_flag;
29+
2830
#[cfg(feature = "full-throttle")]
2931
extern crate rayon;
3032

3133
#[cfg(feature = "full-throttle")]
3234
pub mod fs;
3335
mod main_macro;
34-
mod log_level;
3536

3637
mod reexports {
3738
#[cfg(feature = "full-throttle")]
@@ -47,6 +48,8 @@ mod reexports {
4748
#[doc(hidden)]
4849
pub use structopt::StructOpt;
4950

51+
pub use clap_verbosity_flag::Verbosity;
52+
5053
#[doc(hidden)]
5154
pub use failure_derive::*;
5255
#[doc(hidden)]
@@ -74,6 +77,4 @@ pub mod prelude {
7477

7578
#[cfg(feature = "full-throttle")]
7679
pub use fs::*;
77-
78-
pub use log_level::Verbosity;
7980
}

src/log_level.rs

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)