Skip to content

Commit

Permalink
Remove ~ dependency on clap.
Browse files Browse the repository at this point in the history
The point of the ~ dependency was to avoid implicitly increasing the
minimum Rust version required to compile ripgrep. However, clap's policy
is to support at least two prior releases of Rust (which roughly
corresponds to the convention that others use too), and that is probably
good enough.

The problem with using a ~ dependency is that it can make packaging
ripgrep in Linux distros difficult, because it means the packager may be
forced to package multiple compatible versions of the same library.

Fixes #271
  • Loading branch information
BurntSushi committed Dec 24, 2016
1 parent de91c26 commit 9911cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ path = "tests/tests.rs"

[dependencies]
bytecount = "0.1.4"
clap = "~2.19.0"
clap = "2.19.0"
ctrlc = "2.0"
env_logger = "0.3"
grep = { version = "0.1.4", path = "grep" }
Expand Down

0 comments on commit 9911cd0

Please sign in to comment.