fixed indentation, removed some unneeded clap features
This commit is contained in:
parent
82bdbebec5
commit
578f2f6be5
3 changed files with 35 additions and 41 deletions
9
Cargo.lock
generated
9
Cargo.lock
generated
|
@ -94,7 +94,6 @@ dependencies = [
|
|||
"indexmap",
|
||||
"lazy_static",
|
||||
"os_str_bytes",
|
||||
"strsim 0.10.0",
|
||||
"termcolor",
|
||||
"terminal_size",
|
||||
"textwrap",
|
||||
|
@ -187,7 +186,7 @@ dependencies = [
|
|||
"ident_case",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"strsim 0.9.3",
|
||||
"strsim",
|
||||
"syn",
|
||||
]
|
||||
|
||||
|
@ -561,12 +560,6 @@ version = "0.9.3"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6446ced80d6c486436db5c078dde11a9f73d42b57fb273121e160b84f63d894c"
|
||||
|
||||
[[package]]
|
||||
name = "strsim"
|
||||
version = "0.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "1.0.60"
|
||||
|
|
|
@ -23,7 +23,8 @@ snailquote = "0.3.0"
|
|||
|
||||
[dependencies.clap]
|
||||
version = "3.0.0-beta.2"
|
||||
features = ["wrap_help"]
|
||||
default-features = false
|
||||
features = ["wrap_help", "color", "derive", "std"]
|
||||
|
||||
[dependencies.env_logger]
|
||||
version = "0.8.2"
|
||||
|
|
|
@ -28,10 +28,10 @@ use log::{debug, trace, info, warn};
|
|||
use rayon::prelude::*;
|
||||
use std::fmt::{self, Display};
|
||||
use xdg_mime::SharedMimeInfo;
|
||||
use std::io::stdout;
|
||||
use crate::parameters::OutputFormat;
|
||||
use crate::scanerror::ScanError;
|
||||
use crate::formats::{Script, Format};
|
||||
use std::io::stdout;
|
||||
|
||||
pub struct Findings {
|
||||
file: PathBuf,
|
||||
|
|
Loading…
Reference in a new issue