tweak deps, eliminating strsim 0.8 dependency

I also enabled the colored help option for clap, since we're paying for
the color dep anyway.
This commit is contained in:
Scott Lamb 2021-06-15 00:45:11 -07:00
parent 92a365eb73
commit 9cb19d5c82
3 changed files with 7 additions and 18 deletions

19
server/Cargo.lock generated
View File

@ -330,11 +330,9 @@ dependencies = [
"ansi_term",
"atty",
"bitflags",
"strsim 0.8.0",
"term_size",
"textwrap",
"unicode-width",
"vec_map",
]
[[package]]
@ -504,7 +502,7 @@ dependencies = [
"ident_case",
"proc-macro2",
"quote",
"strsim 0.9.3",
"strsim",
"syn",
]
@ -1296,6 +1294,7 @@ dependencies = [
"blake3",
"byteorder",
"bytes",
"clap",
"cstr",
"cursive",
"failure",
@ -1630,7 +1629,7 @@ checksum = "bc5c99d529f0d30937f6f4b8a86d988047327bb88d04d2c4afc356de74722131"
[[package]]
name = "prettydiff"
version = "0.5.0"
source = "git+https://github.com/scottlamb/prettydiff?branch=pr-update-deps#f33bf8871a6282a59be546eb9d3f2584ca3645c4"
source = "git+https://github.com/scottlamb/prettydiff?branch=pr-update-deps#66d484720e1f3c32dd3cb1806cf489b832ddd9d2"
dependencies = [
"ansi_term",
"prettytable-rs",
@ -2218,12 +2217,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "strsim"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "strsim"
version = "0.9.3"
@ -2616,12 +2609,6 @@ version = "0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cbdbff6266a24120518560b5dc983096efb98462e51d0d68169895b237be3e5d"
[[package]]
name = "vec_map"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
[[package]]
name = "version_check"
version = "0.9.3"

View File

@ -24,6 +24,7 @@ base64 = "0.13.0"
blake3 = "0.3.7"
bytes = "1"
byteorder = "1.0"
clap = { version = "2.33.3", default-features = false, features = ["color", "wrap_help"] }
cstr = "0.2.5"
cursive = "0.16.3"
db = { package = "moonfire-db", path = "db" }
@ -51,7 +52,7 @@ rusqlite = "0.25.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
smallvec = "1.0"
structopt = { version = "0.3.13", features = ["default", "wrap_help"] }
structopt = { version = "0.3.13", default-features = false }
sync_wrapper = "0.1.0"
time = "0.1"
tokio = { version = "1.0", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "time"] }

View File

@ -22,7 +22,8 @@ mod web;
#[derive(StructOpt)]
#[structopt(
name = "moonfire-nvr",
about = "security camera network video recorder"
about = "security camera network video recorder",
global_settings(&[clap::AppSettings::ColoredHelp])
)]
enum Args {
/// Checks database integrity (like fsck).