Skip to content

Commit

Permalink
fst-bin: drop docopt in favor of clap
Browse files Browse the repository at this point in the history
This was a grueling refactor, but it's done. We now correctly handle
non-UTF-8 arguments in most places. We also switch to anyhow for error
handling, so setting RUST_LIB_BACKTRACE when an error occurs will show
something useful (assuming it was built with a nightly compiler).
  • Loading branch information
BurntSushi committed Feb 25, 2020
1 parent c0abfdc commit 67b937a
Show file tree
Hide file tree
Showing 15 changed files with 1,026 additions and 787 deletions.
3 changes: 2 additions & 1 deletion fst-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ name = "fst"
path = "src/main.rs"

[dependencies]
anyhow = "1.0.26"
bit-set = "0.5.1"
bstr = "0.2.11"
clap = { version = "2.33.0", default-features = false }
crossbeam-channel = "0.4.2"
csv = "1.1.3"
docopt = "1.1"
fst = { path = "..", version = "0.3", features = ["levenshtein"] }
memmap = "0.7"
num_cpus = "1.5"
Expand Down
Loading

0 comments on commit 67b937a

Please sign in to comment.