From b4a764f286e15334598873612b945d1fcaf3882d Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mon, 6 Mar 2023 13:29:10 -0600 Subject: [PATCH] Relax version dependencies For dependencies we're pinning for Rust 1.57 compatibility, specify the range of versions allowed rather than just pinning to the maximum version allowed. This makes it easier for Linux distribution packaging, where a different version might already be packaged. Signed-off-by: Michel Alexandre Salim --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 021280afa..d8fa9d003 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,10 +56,10 @@ crossterm = { version = "0.25.0", features = [] } [dev-dependencies] # This is the last version of assert_cmd that supports rustc 1.57. -assert_cmd = "=2.0.5" +assert_cmd = ">= 2, <= 2.0.5" # Predicates is a dependency of assert_cmd, but needs pinning to the # last version that supports rustc 1.57. -predicates = "=2.1.1" +predicates = ">= 2, <= 2.1.1" pretty_assertions = "1.2.1"