Minimize dependency version requirements (#461)

In order to make the life of downstream packagers easier, we should take care that dependency version requirements in Cargo.toml are as minimal as possible, so that packagers have as much flexibility as possible in packaging Just and its dependencies.

This diff reduces dependency version requirements in Cargo.toml to the minimum possible, i.e. the minimum possible semver compatible version that builds and passes tests.

We continue to require patch versions of ctrlc and log, because I couldn't get just to build with minimal versions after removing their patch requirements.
This commit is contained in:
Casey Rodarmor 2019-07-10 22:59:32 -07:00 committed by GitHub
parent 1958edfacb
commit 57ac89a7ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,26 +9,26 @@ readme = "crates-io-readme.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
ansi_term = "0.11.0" ansi_term = "0.11"
assert_matches = "1.1.0" assert_matches = "1"
atty = "0.2.1" atty = "0.2"
brev = "0.2.0" brev = "0.2"
clap = "2.33.0" clap = "2.33"
dotenv = "0.13.0" dotenv = "0.13"
edit-distance = "2.0.0" edit-distance = "2"
env_logger = "0.6.1" env_logger = "0.6"
itertools = "0.8.0" itertools = "0.8"
lazy_static = "1.0.0" lazy_static = "1"
libc = "0.2.21" libc = "0.2"
log = "0.4.4" log = "0.4.4"
target = "1.0.0" target = "1"
tempfile = "3.0.0" tempfile = "3"
unicode-width = "0.1.3" unicode-width = "0.1"
[dependencies.ctrlc] [dependencies.ctrlc]
version = "3.1.2" version = "3.1.1"
features = ["termination"] features = ["termination"]
[dev-dependencies] [dev-dependencies]
executable-path = "1.0.0" executable-path = "1"
pretty_assertions = "0.6.1" pretty_assertions = "0.6"