From 57ac89a7acefed35f6903f27d3fbc32042c8651b Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Wed, 10 Jul 2019 22:59:32 -0700 Subject: [PATCH] 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. --- Cargo.toml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4059459..55f662c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,26 +9,26 @@ readme = "crates-io-readme.md" edition = "2018" [dependencies] -ansi_term = "0.11.0" -assert_matches = "1.1.0" -atty = "0.2.1" -brev = "0.2.0" -clap = "2.33.0" -dotenv = "0.13.0" -edit-distance = "2.0.0" -env_logger = "0.6.1" -itertools = "0.8.0" -lazy_static = "1.0.0" -libc = "0.2.21" +ansi_term = "0.11" +assert_matches = "1" +atty = "0.2" +brev = "0.2" +clap = "2.33" +dotenv = "0.13" +edit-distance = "2" +env_logger = "0.6" +itertools = "0.8" +lazy_static = "1" +libc = "0.2" log = "0.4.4" -target = "1.0.0" -tempfile = "3.0.0" -unicode-width = "0.1.3" +target = "1" +tempfile = "3" +unicode-width = "0.1" [dependencies.ctrlc] -version = "3.1.2" +version = "3.1.1" features = ["termination"] [dev-dependencies] -executable-path = "1.0.0" -pretty_assertions = "0.6.1" +executable-path = "1" +pretty_assertions = "0.6"