Skip to content

Commit 3675a8d

Browse files
codexByron
andcommitted
Raise MSRV for hash dependency updates
sha2 0.11 and hashbrown 0.17 bring Rust 2024 crates into the dependency graph, so the previous 1.82 MSRV is no longer sufficient for this Dependabot update. Raise the effective rust-version to 1.85 across the workspace manifests, update the generated MSRV badge, and document the reason in the primary MSRV comments. Keep the direct hash dependency updates in place, and adjust gix-hash so sha2 0.11 can coexist with sha1-checked's digest 0.10 trait import. The new MSRV also allows using recently stabilized standard-library helpers that current Clippy expects, including midpoint/repeat_n and concrete ErrorKind variants for directory errors. The locked prodash dependency can otherwise select human_format 1.2.x, which uses let-chains that need a newer compiler than 1.85. Keep human_format locked to 1.1.0 so the non-hash dependency graph remains compatible with the new MSRV. Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
1 parent 4c77f81 commit 3675a8d

90 files changed

Lines changed: 132 additions & 132 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
88
edition = "2021"
99
license = "MIT OR Apache-2.0"
1010
version = "0.53.0"
11-
rust-version = "1.82"
11+
# Rust 1.85 is required so hash-related dependencies can use Rust 2024 crates,
12+
# notably `sha2` 0.11 and `hashbrown` 0.17.
13+
rust-version = "1.85"
1214
default-run = "gix"
1315
include = ["/src/**/*", "/build.rs", "/LICENSE-*", "/README.md"]
1416
resolver = "2"

etc/msrv-badge.svg

Lines changed: 4 additions & 4 deletions
Loading

gix-actor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository = "https://github.com/GitoxideLabs/gitoxide"
99
license = "MIT OR Apache-2.0"
1010
edition = "2021"
1111
include = ["/src/**/*", "/LICENSE-*"]
12-
rust-version = "1.82"
12+
rust-version = "1.85"
1313

1414
[lib]
1515
doctest = true

gix-archive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
88
description = "archive generation from of a worktree stream"
99
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
1010
edition = "2021"
11-
rust-version = "1.82"
11+
rust-version = "1.85"
1212
include = ["/src/**/*", "/LICENSE-*"]
1313

1414
[lib]

gix-attributes/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "A crate of the gitoxide project dealing .gitattributes files"
99
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
1010
edition = "2021"
1111
include = ["/src/**/*", "/LICENSE-*"]
12-
rust-version = "1.82"
12+
rust-version = "1.85"
1313

1414
[lib]
1515
doctest = true

gix-bitmap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
88
description = "A crate of the gitoxide project dedicated implementing the standard git bitmap format"
99
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
1010
edition = "2021"
11-
rust-version = "1.82"
11+
rust-version = "1.85"
1212
include = ["/src/**/*", "/LICENSE-*"]
1313

1414
[lib]

gix-blame/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
88
description = "A crate of the gitoxide project dedicated to implementing a 'blame' algorithm"
99
authors = ["Christoph Rüßler <christoph.ruessler@mailbox.org>", "Sebastian Thiel <sebastian.thiel@icloud.com>"]
1010
edition = "2021"
11-
rust-version = "1.82"
11+
rust-version = "1.85"
1212
include = ["/src/**/*", "/LICENSE-*"]
1313

1414
[features]

gix-chunk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ documentation = "https://github.com/git/git/blob/seen/Documentation/technical/ch
1010
license = "MIT OR Apache-2.0"
1111
edition = "2021"
1212
include = ["/src/**/*", "/LICENSE-*"]
13-
rust-version = "1.82"
13+
rust-version = "1.85"
1414

1515
[lib]
1616
doctest = true

gix-command/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
88
description = "A crate of the gitoxide project handling internal git command execution"
99
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
1010
edition = "2021"
11-
rust-version = "1.82"
11+
rust-version = "1.85"
1212
include = ["/src/lib.rs", "/LICENSE-*"]
1313

1414
[lib]

0 commit comments

Comments
 (0)