Skip to content

Commit 7a40648

Browse files
authored
Merge pull request #1662 from paolobarbolini/thiserror-v2
upgrade thiserror to v2.0.0
2 parents cf0c7ee + 0f0e4fe commit 7a40648

File tree

47 files changed

+156
-139
lines changed

Some content is hidden

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

47 files changed

+156
-139
lines changed

Cargo.lock

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

gitoxide-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ gix-status = { version = "^0.14.0", path = "../gix-status" }
5757
gix-fsck = { version = "^0.7.0", path = "../gix-fsck" }
5858
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
5959
anyhow = "1.0.42"
60-
thiserror = "1.0.34"
60+
thiserror = "2.0.0"
6161
bytesize = "1.0.1"
6262
tempfile = "3.1.0"
6363

gix-actor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ serde = ["dep:serde", "bstr/serde", "gix-date/serde"]
2222
gix-date = { version = "^0.9.1", path = "../gix-date" }
2323
gix-utils = { version = "^0.1.13", path = "../gix-utils" }
2424

25-
thiserror = "1.0.38"
25+
thiserror = "2.0.0"
2626
bstr = { version = "1.3.0", default-features = false, features = [
2727
"std",
2828
"unicode",

gix-archive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ flate2 = { version = "1.0.33", optional = true }
3636
zip = { version = "2.1.0", optional = true, default-features = false, features = ["deflate"] }
3737
jiff = { version = "0.1.2", default-features = false, features = ["std"] }
3838

39-
thiserror = "1.0.26"
39+
thiserror = "2.0.0"
4040
bstr = { version = "1.5.0", default-features = false }
4141

4242
tar = { version = "0.4.38", optional = true }

gix-attributes/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ bstr = { version = "1.3.0", default-features = false, features = ["std", "unicod
2828
smallvec = "1.10.0"
2929
kstring = "2.0.0"
3030
unicode-bom = { version = "2.0.3" }
31-
thiserror = "1.0.26"
31+
thiserror = "2.0.0"
3232
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
3333

3434
document-features = { version = "0.2.1", optional = true }

gix-bitmap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ doctest = false
1616
test = true
1717

1818
[dependencies]
19-
thiserror = "1.0.38"
19+
thiserror = "2.0.0"
2020

2121
[dev-dependencies]
2222
gix-testtools = { path = "../tests/tools" }

gix-chunk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ doctest = false
1717
test = false
1818

1919
[dependencies]
20-
thiserror = "1.0.34"
20+
thiserror = "2.0.0"

gix-commitgraph/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ gix-chunk = { version = "^0.4.9", path = "../gix-chunk" }
2727
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
2828
memmap2 = "0.9.0"
2929
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
30-
thiserror = "1.0.26"
30+
thiserror = "2.0.0"
3131

3232
document-features = { version = "0.2.0", optional = true }
3333

gix-commitgraph/src/init.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ pub enum Error {
3030
err: std::io::Error,
3131
path: PathBuf,
3232
},
33-
#[error(
34-
"Commit-graph files contain {0} commits altogether, but only {} commits are allowed",
35-
MAX_COMMITS
36-
)]
33+
#[error("Commit-graph files contain {0} commits altogether, but only {MAX_COMMITS} commits are allowed")]
3734
TooManyCommits(u64),
3835
}
3936

gix-config-value/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ serde = ["dep:serde", "bstr/serde"]
2121
[dependencies]
2222
gix-path = { version = "^0.10.12", path = "../gix-path" }
2323

24-
thiserror = "1.0.32"
24+
thiserror = "2.0.0"
2525
bstr = { version = "1.0.1", default-features = false, features = ["std"] }
2626
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
2727
bitflags = "2"

gix-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ gix-glob = { version = "^0.17.0", path = "../gix-glob" }
2828

2929
winnow = { version = "0.6", features = ["simd"] }
3030
memchr = "2"
31-
thiserror = "1.0.26"
31+
thiserror = "2.0.0"
3232
unicode-bom = { version = "2.0.3" }
3333
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
3434
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }

gix-credentials/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ gix-config-value = { version = "^0.14.9", path = "../gix-config-value" }
2727
gix-prompt = { version = "^0.8.8", path = "../gix-prompt" }
2828
gix-trace = { version = "^0.1.11", path = "../gix-trace" }
2929

30-
thiserror = "1.0.32"
30+
thiserror = "2.0.0"
3131
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
3232
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
3333

gix-date/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bstr = { version = "1.3.0", default-features = false, features = ["std"] }
2323
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
2424
itoa = "1.0.1"
2525
jiff = "0.1.1"
26-
thiserror = "1.0.32"
26+
thiserror = "2.0.0"
2727

2828
document-features = { version = "0.2.0", optional = true }
2929

gix-diff/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gix-tempfile = { version = "^15.0.0", path = "../gix-tempfile", optional = true
3636
gix-trace = { version = "^0.1.11", path = "../gix-trace", optional = true }
3737
gix-traverse = { version = "^0.42.0", path = "../gix-traverse", optional = true }
3838

39-
thiserror = "1.0.32"
39+
thiserror = "2.0.0"
4040
imara-diff = { version = "0.1.7", optional = true }
4141
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
4242
getrandom = { version = "0.2.8", optional = true, default-features = false, features = ["js"] }

gix-dir/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ gix-ignore = { version = "^0.12.0", path = "../gix-ignore" }
2626
gix-utils = { version = "^0.1.13", path = "../gix-utils", features = ["bstr"] }
2727

2828
bstr = { version = "1.5.0", default-features = false }
29-
thiserror = "1.0.34"
29+
thiserror = "2.0.0"
3030

3131
[dev-dependencies]
3232
gix-testtools = { path = "../tests/tools" }

gix-discover/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ gix-hash = { version = "^0.15.0", path = "../gix-hash" }
2222
gix-fs = { version = "^0.12.0", path = "../gix-fs" }
2323

2424
bstr = { version = "1.3.0", default-features = false, features = ["std", "unicode"] }
25-
thiserror = "1.0.26"
25+
thiserror = "2.0.0"
2626

2727
[target.'cfg(windows)'.dependencies]
2828
dunce = "1.0.3"

gix-features/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ bytes = { version = "1.0.0", optional = true }
146146

147147
# zlib module
148148
flate2 = { version = "1.0.33", optional = true, default-features = false }
149-
thiserror = { version = "1.0.38", optional = true }
149+
thiserror = { version = "2.0.0", optional = true }
150150

151151
once_cell = { version = "1.13.0", optional = true }
152152

gix-filter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ gix-attributes = { version = "^0.23.0", path = "../gix-attributes" }
2727

2828
encoding_rs = "0.8.32"
2929
bstr = { version = "1.5.0", default-features = false, features = ["std"] }
30-
thiserror = "1.0.38"
30+
thiserror = "2.0.0"
3131
smallvec = "1.10.0"
3232

3333

gix-hash/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test = false
2020
serde = ["dep:serde"]
2121

2222
[dependencies]
23-
thiserror = "1.0.33"
23+
thiserror = "2.0.0"
2424
faster-hex = { version = "0.9.0" }
2525
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
2626

gix-index/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ gix-utils = { version = "^0.1.13", path = "../gix-utils" }
3737

3838
hashbrown = "0.14.3"
3939
fnv = "1.0.7"
40-
thiserror = "1.0.32"
40+
thiserror = "2.0.0"
4141
memmap2 = "0.9.0"
4242
filetime = "0.2.15"
4343
bstr = { version = "1.3.0", default-features = false }

gix-lock/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test = true
1818
[dependencies]
1919
gix-utils = { version = "^0.1.13", default-features = false, path = "../gix-utils" }
2020
gix-tempfile = { version = "^15.0.0", default-features = false, path = "../gix-tempfile" }
21-
thiserror = "1.0.38"
21+
thiserror = "2.0.0"
2222

2323
[dev-dependencies]
2424
tempfile = "3.2.0"

gix-mailmap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ serde = ["dep:serde", "bstr/serde", "gix-actor/serde"]
2222
gix-actor = { version = "^0.33.0", path = "../gix-actor" }
2323
gix-date = { version = "^0.9.1", path = "../gix-date" }
2424
bstr = { version = "1.3.0", default-features = false, features = ["std", "unicode"] }
25-
thiserror = "1.0.38"
25+
thiserror = "2.0.0"
2626
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
2727

2828
document-features = { version = "0.2.0", optional = true }

gix-merge/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ gix-revision = { version = "^0.30.0", path = "../gix-revision", default-features
3333
gix-revwalk = { version = "^0.16.0", path = "../gix-revwalk" }
3434
gix-diff = { version = "^0.47.0", path = "../gix-diff", default-features = false, features = ["blob"] }
3535

36-
thiserror = "1.0.63"
36+
thiserror = "2.0.0"
3737
imara-diff = { version = "0.1.7" }
3838
bstr = { version = "1.5.0", default-features = false }
3939
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }

gix-negotiate/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gix-object = { version = "^0.45.0", path = "../gix-object" }
2121
gix-date = { version = "^0.9.1", path = "../gix-date" }
2222
gix-commitgraph = { version = "^0.25.0", path = "../gix-commitgraph" }
2323
gix-revwalk = { version = "^0.16.0", path = "../gix-revwalk" }
24-
thiserror = "1.0.40"
24+
thiserror = "2.0.0"
2525
smallvec = "1.10.0"
2626
bitflags = "2"
2727

gix-object/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ gix-date = { version = "^0.9.1", path = "../gix-date" }
5353
gix-utils = { version = "^0.1.13", path = "../gix-utils" }
5454

5555
itoa = "1.0.1"
56-
thiserror = "1.0.34"
56+
thiserror = "2.0.0"
5757
bstr = { version = "1.3.0", default-features = false, features = [
5858
"std",
5959
"unicode",

gix-odb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ gix-fs = { version = "^0.12.0", path = "../gix-fs" }
3232
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
3333

3434
tempfile = "3.10.0"
35-
thiserror = "1.0.26"
35+
thiserror = "2.0.0"
3636
parking_lot = { version = "0.12.0" }
3737
arc-swap = "1.5.0"
3838

gix-pack/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ gix-diff = { version = "^0.47.0", path = "../gix-diff", default-features = false
4848
memmap2 = "0.9.0"
4949
smallvec = "1.3.0"
5050
parking_lot = { version = "0.12.0", default-features = false, optional = true }
51-
thiserror = "1.0.26"
51+
thiserror = "2.0.0"
5252

5353
# for caching
5454
uluru = { version = "3.0.0", optional = true }

gix-packetline-blocking/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ serde = ["dep:serde", "bstr/serde"]
3232
gix-trace = { version = "^0.1.11", path = "../gix-trace" }
3333

3434
serde = { version = "1.0.114", optional = true, default-features = false, features = ["std", "derive"] }
35-
thiserror = "1.0.34"
35+
thiserror = "2.0.0"
3636
faster-hex = { version = "0.9.0" }
3737
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
3838

gix-packetline/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ required-features = ["blocking-io", "maybe-async/is_sync"]
4444
gix-trace = { version = "^0.1.11", path = "../gix-trace" }
4545

4646
serde = { version = "1.0.114", optional = true, default-features = false, features = ["std", "derive"] }
47-
thiserror = "1.0.34"
47+
thiserror = "2.0.0"
4848
faster-hex = { version = "0.9.0" }
4949
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
5050
# async support

gix-path/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ doctest = false
1717
[dependencies]
1818
gix-trace = { version = "^0.1.11", path = "../gix-trace" }
1919
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
20-
thiserror = "1.0.26"
20+
thiserror = "2.0.0"
2121
once_cell = "1.17.1"
2222

2323
[target.'cfg(not(target_family = "wasm"))'.dependencies]

gix-pathspec/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ gix-config-value = { version = "^0.14.9", path = "../gix-config-value" }
2222

2323
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
2424
bitflags = "2"
25-
thiserror = "1.0.26"
25+
thiserror = "2.0.0"
2626

2727
[dev-dependencies]
2828
gix-testtools = { path = "../tests/tools" }

gix-prompt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ doctest = false
1818
gix-command = { version = "^0.3.10", path = "../gix-command" }
1919
gix-config-value = { version = "^0.14.9", path = "../gix-config-value" }
2020

21-
thiserror = "1.0.32"
21+
thiserror = "2.0.0"
2222

2323
[target.'cfg(unix)'.dependencies]
2424
rustix = { version = "0.38.4", features = ["termios"] }

gix-protocol/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ gix-date = { version = "^0.9.1", path = "../gix-date" }
5656
gix-credentials = { version = "^0.25.0", path = "../gix-credentials" }
5757
gix-utils = { version = "^0.1.13", path = "../gix-utils" }
5858

59-
thiserror = "1.0.32"
59+
thiserror = "2.0.0"
6060
serde = { version = "1.0.114", optional = true, default-features = false, features = [
6161
"derive",
6262
] }

gix-quote/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ doctest = false
1818
gix-utils = { version = "^0.1.13", path = "../gix-utils" }
1919

2020
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
21-
thiserror = "1.0.38"
21+
thiserror = "2.0.0"

gix-ref/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ gix-actor = { version = "^0.33.0", path = "../gix-actor" }
3232
gix-lock = { version = "^15.0.0", path = "../gix-lock" }
3333
gix-tempfile = { version = "^15.0.0", default-features = false, path = "../gix-tempfile" }
3434

35-
thiserror = "1.0.34"
35+
thiserror = "2.0.0"
3636
winnow = { version = "0.6", features = ["simd"] }
3737
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
3838

gix-refspec/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ gix-validate = { version = "^0.9.1", path = "../gix-validate" }
2020
gix-hash = { version = "^0.15.0", path = "../gix-hash" }
2121

2222
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
23-
thiserror = "1.0.26"
23+
thiserror = "2.0.0"
2424
smallvec = "1.9.0"
2525

2626
[dev-dependencies]

gix-revision/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ gix-trace = { version = "^0.1.11", path = "../gix-trace", optional = true }
3737

3838
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
3939
bitflags = { version = "2", optional = true }
40-
thiserror = "1.0.26"
40+
thiserror = "2.0.0"
4141
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
4242
document-features = { version = "0.2.1", optional = true }
4343

gix-revwalk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ gix-date = { version = "^0.9.1", path = "../gix-date" }
2121
gix-hashtable = { version = "^0.6.0", path = "../gix-hashtable" }
2222
gix-commitgraph = { version = "^0.25.0", path = "../gix-commitgraph" }
2323

24-
thiserror = "1.0.26"
24+
thiserror = "2.0.0"
2525
smallvec = "1.10.0"

gix-status/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ gix-pathspec = { version = "^0.8.0", path = "../gix-pathspec" }
3333
gix-dir = { version = "^0.9.0", path = "../gix-dir", optional = true }
3434
gix-diff = { version = "^0.47.0", path = "../gix-diff", default-features = false, features = ["blob"], optional = true }
3535

36-
thiserror = "1.0.26"
36+
thiserror = "2.0.0"
3737
filetime = "0.2.15"
3838
bstr = { version = "1.3.0", default-features = false }
3939

gix-submodule/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ gix-path = { version = "^0.10.12", path = "../gix-path" }
2222
gix-url = { version = "^0.28.0", path = "../gix-url" }
2323

2424
bstr = { version = "1.5.0", default-features = false }
25-
thiserror = "1.0.44"
25+
thiserror = "2.0.0"
2626

2727
[dev-dependencies]
2828
gix-testtools = { path = "../tests/tools" }

gix-transport/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ bstr = { version = "1.3.0", default-features = false, features = [
9595
"std",
9696
"unicode",
9797
] }
98-
thiserror = "1.0.26"
98+
thiserror = "2.0.0"
9999

100100
# for async-client
101101
async-trait = { version = "0.1.51", optional = true }

gix-traverse/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ gix-hashtable = { version = "^0.6.0", path = "../gix-hashtable" }
2323
gix-revwalk = { version = "^0.16.0", path = "../gix-revwalk" }
2424
gix-commitgraph = { version = "^0.25.0", path = "../gix-commitgraph" }
2525
smallvec = "1.10.0"
26-
thiserror = "1.0.32"
26+
thiserror = "2.0.0"
2727
bitflags = "2"

gix-url/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ gix-features = { version = "^0.39.0", path = "../gix-features" }
2323
gix-path = { version = "^0.10.12", path = "../gix-path" }
2424

2525
serde = { version = "1.0.114", optional = true, default-features = false, features = ["std", "derive"] }
26-
thiserror = "1.0.32"
26+
thiserror = "2.0.0"
2727
url = "2.5.2"
2828
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
2929

gix-validate/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ doctest = false
1616
test = true
1717

1818
[dependencies]
19-
thiserror = "1.0.34"
19+
thiserror = "2.0.0"
2020
bstr = { version = "1.3.0", default-features = false, features = ["std"] }
2121

2222
[dev-dependencies]

gix-worktree-state/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ gix-features = { version = "^0.39.0", path = "../gix-features" }
2727
gix-filter = { version = "^0.14.0", path = "../gix-filter" }
2828

2929
io-close = "0.3.7"
30-
thiserror = "1.0.26"
30+
thiserror = "2.0.0"
3131
bstr = { version = "1.3.0", default-features = false }

gix-worktree-stream/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ gix-traverse = { version = "^0.42.0", path = "../gix-traverse" }
2424
gix-fs = { version = "^0.12.0", path = "../gix-fs" }
2525
gix-path = { version = "^0.10.12", path = "../gix-path" }
2626

27-
thiserror = "1.0.26"
27+
thiserror = "2.0.0"
2828
parking_lot = "0.12.1"
2929

3030
[dev-dependencies]

0 commit comments

Comments
 (0)