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 <salimma@fedoraproject.org>
pull/492/head
Michel Alexandre Salim 2023-03-06 13:29:10 +07:00
parent ffd2c4a7fb
commit b4a764f286
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2
1 changed files with 2 additions and 2 deletions

@ -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"