Skip to content

Commit 6cc8464

Browse files
CopilotByron
andcommitted
Update MSRV to 1.82 and replace once_cell with std equivalents
This couldn't happen everywhere just yet. Co-authored-by: Byron <63622+Byron@users.noreply.github.com>
1 parent f38e1c9 commit 6cc8464

File tree

100 files changed

+131
-147
lines changed

Some content is hidden

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

100 files changed

+131
-147
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
88
edition = "2021"
99
license = "MIT OR Apache-2.0"
1010
version = "0.45.0"
11-
rust-version = "1.74"
11+
rust-version = "1.82"
1212
default-run = "gix"
1313
include = ["src/**/*", "/build.rs", "LICENSE-*", "README.md"]
1414
resolver = "2"
@@ -174,7 +174,6 @@ terminal_size = "0.4.2"
174174
# Avoid pre-compiled binaries, see https://github.com/serde-rs/serde/issues/2538 and https://github.com/serde-rs/serde/pull/2590
175175
serde_derive = ">=1.0.185"
176176

177-
once_cell = "1.21.3"
178177
document-features = { version = "0.2.0", optional = true }
179178
[profile.dev.package]
180179
insta.opt-level = 3

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.70"
12+
rust-version = "1.82"
1313

1414
[lib]
1515
doctest = false

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.70"
11+
rust-version = "1.82"
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.70"
12+
rust-version = "1.82"
1313

1414
[lib]
1515
doctest = false

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.70"
11+
rust-version = "1.82"
1212
exclude = ["CHANGELOG.md"]
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.70"
11+
rust-version = "1.82"
1212

1313
[dependencies]
1414
gix-commitgraph = { version = "^0.29.0", path = "../gix-commitgraph" }

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.70"
13+
rust-version = "1.82"
1414

1515
[lib]
1616
doctest = false

gix-command/Cargo.toml

Lines changed: 1 addition & 2 deletions
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.70"
11+
rust-version = "1.82"
1212
include = ["src/lib.rs", "LICENSE-*"]
1313

1414
[lib]
@@ -24,4 +24,3 @@ shell-words = "1.0"
2424

2525
[dev-dependencies]
2626
gix-testtools = { path = "../tests/tools" }
27-
once_cell = "1.21.3"

gix-command/tests/command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ mod context {
224224
}
225225

226226
mod prepare {
227-
use once_cell::sync::Lazy;
227+
use std::sync::LazyLock;
228228

229229
static SH: Lazy<&'static str> = Lazy::new(|| {
230230
gix_path::env::shell()

0 commit comments

Comments
 (0)