-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump minimum required Rust version to 1.58
Difftastic is generally conservative about MSRV, and will only increase the version when there is a compelling reason (e.g. major performance improvement, important bug fix in a dependendency). This version increase will enable us to upgrade crossterm to 0.26, which has better detection of terminal width on Windows. I've also clarified MSRV details for other dependencies that cannot currently be upgraded.
- Loading branch information
Showing
7 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ authors = ["Wilfred Hughes <[email protected]>"] | |
keywords = ["diff", "syntax"] | ||
categories = ["development-tools", "command-line-utilities", "parser-implementations"] | ||
edition = "2018" | ||
rust-version = "1.57.0" | ||
rust-version = "1.58.0" | ||
include = [ | ||
"/build.rs", | ||
"/src/", | ||
|
@@ -28,16 +28,15 @@ pkg-url = "{ repo }/releases/download/{ version }/difft-{ target }.{ archive-for | |
pkg-fmt = "zip" | ||
|
||
[dependencies] | ||
# This is the last version that supports rust 1.57, regex 1.8 requires rust 1.60. | ||
# regex 1.8 requires rust 1.60. | ||
regex = ">= 1.7, < 1.8" | ||
clap = { version = "3.1.8", features = ["cargo", "env", "wrap_help"] } | ||
itertools = "0.10.1" | ||
typed-arena = "2.0.1" | ||
rustc-hash = "1.1.0" | ||
strsim = "0.10.0" | ||
lazy_static = "1.4.0" | ||
# This is the last version that supports 1.57, tree-sitter 0.20.10 | ||
# requires rust 1.65. | ||
# tree-sitter 0.20.10 requires rust 1.65. | ||
tree-sitter = "0.20.9" | ||
libc = "0.2.108" | ||
log = "0.4.14" | ||
|
@@ -64,10 +63,9 @@ strum = { version = "0.25", features = ["derive"] } | |
hashbrown = "0.12.3" | ||
|
||
[dev-dependencies] | ||
# This is the last version of assert_cmd that supports rustc 1.57. | ||
# assert_cmd 2.0.6 requires rust 1.60 | ||
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 is a dependency of assert_cmd, but 2.1.2 requires rust 1.60. | ||
predicates = ">= 2, <= 2.1.1" | ||
|
||
pretty_assertions = "1.3.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[toolchain] | ||
channel = "1.57" | ||
channel = "1.58" | ||
components = ["rustfmt"] | ||
profile = "minimal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters