From 0f0e4fe121932a8a6302cf950b3caa4c8608fb61 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Fri, 8 Nov 2024 19:36:07 +0100 Subject: [PATCH] upgrade thiserror to v2.0.0 --- Cargo.lock | 200 ++++++++++++++++------------- gitoxide-core/Cargo.toml | 2 +- gix-actor/Cargo.toml | 2 +- gix-archive/Cargo.toml | 2 +- gix-attributes/Cargo.toml | 2 +- gix-bitmap/Cargo.toml | 2 +- gix-chunk/Cargo.toml | 2 +- gix-commitgraph/Cargo.toml | 2 +- gix-commitgraph/src/init.rs | 5 +- gix-config-value/Cargo.toml | 2 +- gix-config/Cargo.toml | 2 +- gix-credentials/Cargo.toml | 2 +- gix-date/Cargo.toml | 2 +- gix-diff/Cargo.toml | 2 +- gix-dir/Cargo.toml | 2 +- gix-discover/Cargo.toml | 2 +- gix-features/Cargo.toml | 2 +- gix-filter/Cargo.toml | 2 +- gix-hash/Cargo.toml | 2 +- gix-index/Cargo.toml | 2 +- gix-lock/Cargo.toml | 2 +- gix-mailmap/Cargo.toml | 2 +- gix-merge/Cargo.toml | 2 +- gix-negotiate/Cargo.toml | 2 +- gix-object/Cargo.toml | 2 +- gix-odb/Cargo.toml | 2 +- gix-pack/Cargo.toml | 2 +- gix-packetline-blocking/Cargo.toml | 2 +- gix-packetline/Cargo.toml | 2 +- gix-path/Cargo.toml | 2 +- gix-pathspec/Cargo.toml | 2 +- gix-prompt/Cargo.toml | 2 +- gix-protocol/Cargo.toml | 2 +- gix-quote/Cargo.toml | 2 +- gix-ref/Cargo.toml | 2 +- gix-refspec/Cargo.toml | 2 +- gix-revision/Cargo.toml | 2 +- gix-revwalk/Cargo.toml | 2 +- gix-status/Cargo.toml | 2 +- gix-submodule/Cargo.toml | 2 +- gix-transport/Cargo.toml | 2 +- gix-traverse/Cargo.toml | 2 +- gix-url/Cargo.toml | 2 +- gix-validate/Cargo.toml | 2 +- gix-worktree-state/Cargo.toml | 2 +- gix-worktree-stream/Cargo.toml | 2 +- gix/Cargo.toml | 2 +- 47 files changed, 156 insertions(+), 139 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a7b7c19c122..c8503111d10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -320,7 +320,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -540,7 +540,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -880,7 +880,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -907,7 +907,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -1308,7 +1308,7 @@ dependencies = [ "smallvec", "sysinfo", "tempfile", - "thiserror", + "thiserror 2.0.0", "tracing", "tracing-forest", "tracing-subscriber", @@ -1382,7 +1382,7 @@ dependencies = [ "signal-hook", "smallvec", "termtree", - "thiserror", + "thiserror 2.0.0", "walkdir", ] @@ -1396,7 +1396,7 @@ dependencies = [ "gix-date 0.8.7", "gix-utils 0.1.12", "itoa", - "thiserror", + "thiserror 1.0.63", "winnow", ] @@ -1413,7 +1413,7 @@ dependencies = [ "itoa", "pretty_assertions", "serde", - "thiserror", + "thiserror 2.0.0", "winnow", ] @@ -1436,7 +1436,7 @@ dependencies = [ "gix-worktree-stream", "jiff", "tar", - "thiserror", + "thiserror 2.0.0", "zip", ] @@ -1453,7 +1453,7 @@ dependencies = [ "gix-trace 0.1.10", "kstring", "smallvec", - "thiserror", + "thiserror 1.0.63", "unicode-bom", ] @@ -1472,7 +1472,7 @@ dependencies = [ "kstring", "serde", "smallvec", - "thiserror", + "thiserror 2.0.0", "unicode-bom", ] @@ -1482,7 +1482,7 @@ version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a371db66cbd4e13f0ed9dc4c0fea712d7276805fccc877f77e96374d317e87ae" dependencies = [ - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1490,7 +1490,7 @@ name = "gix-bitmap" version = "0.2.12" dependencies = [ "gix-testtools", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1506,14 +1506,14 @@ version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45c8751169961ba7640b513c3b24af61aa962c967aaf04116734975cd5af0c52" dependencies = [ - "thiserror", + "thiserror 1.0.63", ] [[package]] name = "gix-chunk" version = "0.4.9" dependencies = [ - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1538,7 +1538,7 @@ dependencies = [ "gix-features 0.38.2", "gix-hash 0.14.2", "memmap2", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1554,7 +1554,7 @@ dependencies = [ "gix-testtools", "memmap2", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1574,7 +1574,7 @@ dependencies = [ "once_cell", "serde", "smallvec", - "thiserror", + "thiserror 2.0.0", "unicode-bom", "winnow", ] @@ -1604,7 +1604,7 @@ dependencies = [ "gix-path 0.10.12", "libc", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1623,7 +1623,7 @@ dependencies = [ "gix-url", "once_cell", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1634,7 +1634,7 @@ checksum = "9eed6931f21491ee0aeb922751bd7ec97b4b2fe8fbfedcb678e2a2dce5f3b8c0" dependencies = [ "bstr", "itoa", - "thiserror", + "thiserror 1.0.63", "time", ] @@ -1650,7 +1650,7 @@ dependencies = [ "jiff", "once_cell", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1672,7 +1672,7 @@ dependencies = [ "gix-worktree 0.37.0", "imara-diff", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1710,7 +1710,7 @@ dependencies = [ "gix-utils 0.1.13", "gix-worktree 0.37.0", "pretty_assertions", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1726,7 +1726,7 @@ dependencies = [ "gix-path 0.10.11", "gix-ref 0.44.1", "gix-sec 0.10.8", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1745,7 +1745,7 @@ dependencies = [ "is_ci", "serial_test", "tempfile", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1784,7 +1784,7 @@ dependencies = [ "prodash 29.0.0", "sha1", "sha1_smol", - "thiserror", + "thiserror 2.0.0", "walkdir", ] @@ -1811,7 +1811,7 @@ dependencies = [ "gix-worktree 0.37.0", "serial_test", "smallvec", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1880,7 +1880,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f93d7df7366121b5018f947a04d37f034717e113dcf9ccd85c34b58e57a74d5e" dependencies = [ "faster-hex", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1892,7 +1892,7 @@ dependencies = [ "gix-features 0.39.0", "gix-testtools", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1968,7 +1968,7 @@ dependencies = [ "memmap2", "rustix 0.38.34", "smallvec", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -1996,7 +1996,7 @@ dependencies = [ "rustix 0.38.34", "serde", "smallvec", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2025,7 +2025,7 @@ checksum = "e3bc7fe297f1f4614774989c00ec8b1add59571dc9b024b4c00acb7dedd4e19d" dependencies = [ "gix-tempfile 14.0.2", "gix-utils 0.1.12", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2035,7 +2035,7 @@ dependencies = [ "gix-tempfile 15.0.0", "gix-utils 0.1.13", "tempfile", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2044,7 +2044,7 @@ version = "0.1.5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", "trybuild", ] @@ -2058,7 +2058,7 @@ dependencies = [ "gix-date 0.9.1", "gix-testtools", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2087,7 +2087,7 @@ dependencies = [ "pretty_assertions", "serde", "termtree", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2104,7 +2104,7 @@ dependencies = [ "gix-revwalk 0.16.0", "gix-testtools", "smallvec", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2126,7 +2126,7 @@ dependencies = [ "gix-validate 0.8.5", "itoa", "smallvec", - "thiserror", + "thiserror 1.0.63", "winnow", ] @@ -2151,7 +2151,7 @@ dependencies = [ "serde", "smallvec", "termtree", - "thiserror", + "thiserror 2.0.0", "winnow", ] @@ -2173,7 +2173,7 @@ dependencies = [ "parking_lot", "serde", "tempfile", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2214,7 +2214,7 @@ dependencies = [ "parking_lot", "serde", "smallvec", - "thiserror", + "thiserror 2.0.0", "uluru", ] @@ -2251,7 +2251,7 @@ dependencies = [ "maybe-async", "pin-project-lite", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2263,7 +2263,7 @@ dependencies = [ "faster-hex", "gix-trace 0.1.11", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2276,7 +2276,7 @@ dependencies = [ "gix-trace 0.1.10", "home", "once_cell", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2290,7 +2290,7 @@ dependencies = [ "known-folders", "once_cell", "serial_test", - "thiserror", + "thiserror 2.0.0", "windows 0.58.0", "winreg", ] @@ -2308,7 +2308,7 @@ dependencies = [ "gix-testtools", "once_cell", "serial_test", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2322,7 +2322,7 @@ dependencies = [ "parking_lot", "rustix 0.38.34", "serial_test", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2345,7 +2345,7 @@ dependencies = [ "gix-utils 0.1.13", "maybe-async", "serde", - "thiserror", + "thiserror 2.0.0", "winnow", ] @@ -2357,7 +2357,7 @@ checksum = "cbff4f9b9ea3fa7a25a70ee62f545143abef624ac6aa5884344e70c8b0a1d9ff" dependencies = [ "bstr", "gix-utils 0.1.12", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2366,7 +2366,7 @@ version = "0.4.13" dependencies = [ "bstr", "gix-utils 0.1.13", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2391,7 +2391,7 @@ dependencies = [ "gix-utils 0.1.12", "gix-validate 0.8.5", "memmap2", - "thiserror", + "thiserror 1.0.63", "winnow", ] @@ -2414,7 +2414,7 @@ dependencies = [ "gix-validate 0.9.1", "memmap2", "serde", - "thiserror", + "thiserror 2.0.0", "winnow", ] @@ -2446,7 +2446,7 @@ dependencies = [ "gix-testtools", "gix-validate 0.9.1", "smallvec", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2467,7 +2467,7 @@ dependencies = [ "gix-trace 0.1.11", "permutohedron", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2482,7 +2482,7 @@ dependencies = [ "gix-hashtable 0.5.2", "gix-object 0.42.3", "smallvec", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2495,7 +2495,7 @@ dependencies = [ "gix-hashtable 0.6.0", "gix-object 0.45.0", "smallvec", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2546,7 +2546,7 @@ dependencies = [ "gix-pathspec", "gix-worktree 0.37.0", "portable-atomic", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2584,7 +2584,7 @@ dependencies = [ "gix-refspec", "gix-testtools", "gix-url", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2686,7 +2686,7 @@ dependencies = [ "pin-project-lite", "reqwest", "serde", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2703,7 +2703,7 @@ dependencies = [ "gix-object 0.42.3", "gix-revwalk 0.13.2", "smallvec", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2718,7 +2718,7 @@ dependencies = [ "gix-object 0.45.0", "gix-revwalk 0.16.0", "smallvec", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2748,7 +2748,7 @@ dependencies = [ "gix-path 0.10.12", "gix-testtools", "serde", - "thiserror", + "thiserror 2.0.0", "url", ] @@ -2778,7 +2778,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "82c27dd34a49b1addf193c92070bcbf3beaf6e10f16a78544de6372e146a0acf" dependencies = [ "bstr", - "thiserror", + "thiserror 1.0.63", ] [[package]] @@ -2787,7 +2787,7 @@ version = "0.9.1" dependencies = [ "bstr", "gix-testtools", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2843,7 +2843,7 @@ dependencies = [ "gix-path 0.10.12", "gix-worktree 0.37.0", "io-close", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2881,7 +2881,7 @@ dependencies = [ "gix-traverse 0.42.0", "gix-worktree 0.37.0", "parking_lot", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -3504,7 +3504,7 @@ checksum = "5cf92c10c7e361d6b99666ec1c6f9805b0bea2c3bd8c78dc6fe98ac5bd78db11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -3707,7 +3707,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -3804,7 +3804,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -3987,7 +3987,7 @@ dependencies = [ "rustc-hash", "rustls", "socket2 0.5.7", - "thiserror", + "thiserror 1.0.63", "tokio", "tracing", ] @@ -4004,7 +4004,7 @@ dependencies = [ "rustc-hash", "rustls", "slab", - "thiserror", + "thiserror 1.0.63", "tinyvec", "tracing", ] @@ -4402,7 +4402,7 @@ checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -4460,7 +4460,7 @@ checksum = "82fe9db325bcef1fbcde82e078a5cc4efdf787e96b3b9cf45b50b529f2083d67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -4604,7 +4604,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d904e7009df136af5297832a3ace3370cd14ff1546a232f4f185036c2736fcac" dependencies = [ "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -4638,7 +4638,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -4666,9 +4666,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.75" +version = "2.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9" +checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" dependencies = [ "proc-macro2", "quote", @@ -4773,7 +4773,16 @@ version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.63", +] + +[[package]] +name = "thiserror" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15291287e9bff1bc6f9ff3409ed9af665bec7a5fc8ac079ea96be07bca0e2668" +dependencies = [ + "thiserror-impl 2.0.0", ] [[package]] @@ -4784,7 +4793,18 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22efd00f33f93fa62848a7cab956c3d38c8d43095efda1decfc2b3a5dc0b8972" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", ] [[package]] @@ -4984,7 +5004,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -5005,7 +5025,7 @@ checksum = "ee40835db14ddd1e3ba414292272eddde9dad04d3d4b65509656414d1c42592f" dependencies = [ "serde", "smallvec", - "thiserror", + "thiserror 1.0.63", "tracing", "tracing-subscriber", ] @@ -5232,7 +5252,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", "wasm-bindgen-shared", ] @@ -5266,7 +5286,7 @@ checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -5389,7 +5409,7 @@ checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -5400,7 +5420,7 @@ checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -5411,7 +5431,7 @@ checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -5422,7 +5442,7 @@ checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -5732,7 +5752,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.75", + "syn 2.0.87", ] [[package]] @@ -5754,7 +5774,7 @@ dependencies = [ "flate2", "indexmap", "memchr", - "thiserror", + "thiserror 1.0.63", "zopfli", ] diff --git a/gitoxide-core/Cargo.toml b/gitoxide-core/Cargo.toml index 5b8ac9fc422..398ace627ef 100644 --- a/gitoxide-core/Cargo.toml +++ b/gitoxide-core/Cargo.toml @@ -57,7 +57,7 @@ gix-status = { version = "^0.14.0", path = "../gix-status" } gix-fsck = { version = "^0.7.0", path = "../gix-fsck" } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } anyhow = "1.0.42" -thiserror = "1.0.34" +thiserror = "2.0.0" bytesize = "1.0.1" tempfile = "3.1.0" diff --git a/gix-actor/Cargo.toml b/gix-actor/Cargo.toml index b13564e8c6b..e133153f73a 100644 --- a/gix-actor/Cargo.toml +++ b/gix-actor/Cargo.toml @@ -22,7 +22,7 @@ serde = ["dep:serde", "bstr/serde", "gix-date/serde"] gix-date = { version = "^0.9.1", path = "../gix-date" } gix-utils = { version = "^0.1.13", path = "../gix-utils" } -thiserror = "1.0.38" +thiserror = "2.0.0" bstr = { version = "1.3.0", default-features = false, features = [ "std", "unicode", diff --git a/gix-archive/Cargo.toml b/gix-archive/Cargo.toml index 60cba56e3a3..da8b1220d43 100644 --- a/gix-archive/Cargo.toml +++ b/gix-archive/Cargo.toml @@ -36,7 +36,7 @@ flate2 = { version = "1.0.33", optional = true } zip = { version = "2.1.0", optional = true, default-features = false, features = ["deflate"] } jiff = { version = "0.1.2", default-features = false, features = ["std"] } -thiserror = "1.0.26" +thiserror = "2.0.0" bstr = { version = "1.5.0", default-features = false } tar = { version = "0.4.38", optional = true } diff --git a/gix-attributes/Cargo.toml b/gix-attributes/Cargo.toml index 993f4b78534..b8515ead00e 100644 --- a/gix-attributes/Cargo.toml +++ b/gix-attributes/Cargo.toml @@ -28,7 +28,7 @@ bstr = { version = "1.3.0", default-features = false, features = ["std", "unicod smallvec = "1.10.0" kstring = "2.0.0" unicode-bom = { version = "2.0.3" } -thiserror = "1.0.26" +thiserror = "2.0.0" serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } document-features = { version = "0.2.1", optional = true } diff --git a/gix-bitmap/Cargo.toml b/gix-bitmap/Cargo.toml index 37305ae829f..60167f5cc31 100644 --- a/gix-bitmap/Cargo.toml +++ b/gix-bitmap/Cargo.toml @@ -16,7 +16,7 @@ doctest = false test = true [dependencies] -thiserror = "1.0.38" +thiserror = "2.0.0" [dev-dependencies] gix-testtools = { path = "../tests/tools" } diff --git a/gix-chunk/Cargo.toml b/gix-chunk/Cargo.toml index 6c023a3354d..7394a82d044 100644 --- a/gix-chunk/Cargo.toml +++ b/gix-chunk/Cargo.toml @@ -17,4 +17,4 @@ doctest = false test = false [dependencies] -thiserror = "1.0.34" +thiserror = "2.0.0" diff --git a/gix-commitgraph/Cargo.toml b/gix-commitgraph/Cargo.toml index e3cd9101f61..c23f03a174e 100644 --- a/gix-commitgraph/Cargo.toml +++ b/gix-commitgraph/Cargo.toml @@ -27,7 +27,7 @@ gix-chunk = { version = "^0.4.9", path = "../gix-chunk" } bstr = { version = "1.3.0", default-features = false, features = ["std"] } memmap2 = "0.9.0" serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } -thiserror = "1.0.26" +thiserror = "2.0.0" document-features = { version = "0.2.0", optional = true } diff --git a/gix-commitgraph/src/init.rs b/gix-commitgraph/src/init.rs index a1f98f3d24a..b65291e533c 100644 --- a/gix-commitgraph/src/init.rs +++ b/gix-commitgraph/src/init.rs @@ -30,10 +30,7 @@ pub enum Error { err: std::io::Error, path: PathBuf, }, - #[error( - "Commit-graph files contain {0} commits altogether, but only {} commits are allowed", - MAX_COMMITS - )] + #[error("Commit-graph files contain {0} commits altogether, but only {MAX_COMMITS} commits are allowed")] TooManyCommits(u64), } diff --git a/gix-config-value/Cargo.toml b/gix-config-value/Cargo.toml index da8d93a918d..168ea5e34de 100644 --- a/gix-config-value/Cargo.toml +++ b/gix-config-value/Cargo.toml @@ -21,7 +21,7 @@ serde = ["dep:serde", "bstr/serde"] [dependencies] gix-path = { version = "^0.10.12", path = "../gix-path" } -thiserror = "1.0.32" +thiserror = "2.0.0" bstr = { version = "1.0.1", default-features = false, features = ["std"] } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } bitflags = "2" diff --git a/gix-config/Cargo.toml b/gix-config/Cargo.toml index e1474f7fa16..626bb8374f1 100644 --- a/gix-config/Cargo.toml +++ b/gix-config/Cargo.toml @@ -28,7 +28,7 @@ gix-glob = { version = "^0.17.0", path = "../gix-glob" } winnow = { version = "0.6", features = ["simd"] } memchr = "2" -thiserror = "1.0.26" +thiserror = "2.0.0" unicode-bom = { version = "2.0.3" } bstr = { version = "1.3.0", default-features = false, features = ["std"] } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } diff --git a/gix-credentials/Cargo.toml b/gix-credentials/Cargo.toml index bf16bed5a01..641660599cf 100644 --- a/gix-credentials/Cargo.toml +++ b/gix-credentials/Cargo.toml @@ -27,7 +27,7 @@ gix-config-value = { version = "^0.14.9", path = "../gix-config-value" } gix-prompt = { version = "^0.8.8", path = "../gix-prompt" } gix-trace = { version = "^0.1.11", path = "../gix-trace" } -thiserror = "1.0.32" +thiserror = "2.0.0" serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } bstr = { version = "1.3.0", default-features = false, features = ["std"] } diff --git a/gix-date/Cargo.toml b/gix-date/Cargo.toml index 469c03db197..2d911059938 100644 --- a/gix-date/Cargo.toml +++ b/gix-date/Cargo.toml @@ -23,7 +23,7 @@ bstr = { version = "1.3.0", default-features = false, features = ["std"] } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } itoa = "1.0.1" jiff = "0.1.1" -thiserror = "1.0.32" +thiserror = "2.0.0" document-features = { version = "0.2.0", optional = true } diff --git a/gix-diff/Cargo.toml b/gix-diff/Cargo.toml index 75e70d57f51..62b215b85a6 100644 --- a/gix-diff/Cargo.toml +++ b/gix-diff/Cargo.toml @@ -36,7 +36,7 @@ gix-tempfile = { version = "^15.0.0", path = "../gix-tempfile", optional = true gix-trace = { version = "^0.1.11", path = "../gix-trace", optional = true } gix-traverse = { version = "^0.42.0", path = "../gix-traverse", optional = true } -thiserror = "1.0.32" +thiserror = "2.0.0" imara-diff = { version = "0.1.7", optional = true } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } getrandom = { version = "0.2.8", optional = true, default-features = false, features = ["js"] } diff --git a/gix-dir/Cargo.toml b/gix-dir/Cargo.toml index 203e134d93e..7cb46816794 100644 --- a/gix-dir/Cargo.toml +++ b/gix-dir/Cargo.toml @@ -26,7 +26,7 @@ gix-ignore = { version = "^0.12.0", path = "../gix-ignore" } gix-utils = { version = "^0.1.13", path = "../gix-utils", features = ["bstr"] } bstr = { version = "1.5.0", default-features = false } -thiserror = "1.0.34" +thiserror = "2.0.0" [dev-dependencies] gix-testtools = { path = "../tests/tools" } diff --git a/gix-discover/Cargo.toml b/gix-discover/Cargo.toml index b649d24f2d0..0d3fdefd75b 100644 --- a/gix-discover/Cargo.toml +++ b/gix-discover/Cargo.toml @@ -22,7 +22,7 @@ gix-hash = { version = "^0.15.0", path = "../gix-hash" } gix-fs = { version = "^0.12.0", path = "../gix-fs" } bstr = { version = "1.3.0", default-features = false, features = ["std", "unicode"] } -thiserror = "1.0.26" +thiserror = "2.0.0" [target.'cfg(windows)'.dependencies] dunce = "1.0.3" diff --git a/gix-features/Cargo.toml b/gix-features/Cargo.toml index 4be9fd2a354..00448ee9562 100644 --- a/gix-features/Cargo.toml +++ b/gix-features/Cargo.toml @@ -146,7 +146,7 @@ bytes = { version = "1.0.0", optional = true } # zlib module flate2 = { version = "1.0.33", optional = true, default-features = false } -thiserror = { version = "1.0.38", optional = true } +thiserror = { version = "2.0.0", optional = true } once_cell = { version = "1.13.0", optional = true } diff --git a/gix-filter/Cargo.toml b/gix-filter/Cargo.toml index 84e3e519a13..e4c6a5bbf91 100644 --- a/gix-filter/Cargo.toml +++ b/gix-filter/Cargo.toml @@ -27,7 +27,7 @@ gix-attributes = { version = "^0.23.0", path = "../gix-attributes" } encoding_rs = "0.8.32" bstr = { version = "1.5.0", default-features = false, features = ["std"] } -thiserror = "1.0.38" +thiserror = "2.0.0" smallvec = "1.10.0" diff --git a/gix-hash/Cargo.toml b/gix-hash/Cargo.toml index 4d9655a377e..6fdf11619c8 100644 --- a/gix-hash/Cargo.toml +++ b/gix-hash/Cargo.toml @@ -20,7 +20,7 @@ test = false serde = ["dep:serde"] [dependencies] -thiserror = "1.0.33" +thiserror = "2.0.0" faster-hex = { version = "0.9.0" } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } diff --git a/gix-index/Cargo.toml b/gix-index/Cargo.toml index 0849a585b3d..77cf8f8460a 100644 --- a/gix-index/Cargo.toml +++ b/gix-index/Cargo.toml @@ -37,7 +37,7 @@ gix-utils = { version = "^0.1.13", path = "../gix-utils" } hashbrown = "0.14.3" fnv = "1.0.7" -thiserror = "1.0.32" +thiserror = "2.0.0" memmap2 = "0.9.0" filetime = "0.2.15" bstr = { version = "1.3.0", default-features = false } diff --git a/gix-lock/Cargo.toml b/gix-lock/Cargo.toml index e8f949f8f82..c0f0b2ed485 100644 --- a/gix-lock/Cargo.toml +++ b/gix-lock/Cargo.toml @@ -18,7 +18,7 @@ test = true [dependencies] gix-utils = { version = "^0.1.13", default-features = false, path = "../gix-utils" } gix-tempfile = { version = "^15.0.0", default-features = false, path = "../gix-tempfile" } -thiserror = "1.0.38" +thiserror = "2.0.0" [dev-dependencies] tempfile = "3.2.0" diff --git a/gix-mailmap/Cargo.toml b/gix-mailmap/Cargo.toml index 7beded936cd..f68edd34e09 100644 --- a/gix-mailmap/Cargo.toml +++ b/gix-mailmap/Cargo.toml @@ -22,7 +22,7 @@ serde = ["dep:serde", "bstr/serde", "gix-actor/serde"] gix-actor = { version = "^0.33.0", path = "../gix-actor" } gix-date = { version = "^0.9.1", path = "../gix-date" } bstr = { version = "1.3.0", default-features = false, features = ["std", "unicode"] } -thiserror = "1.0.38" +thiserror = "2.0.0" serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } document-features = { version = "0.2.0", optional = true } diff --git a/gix-merge/Cargo.toml b/gix-merge/Cargo.toml index 1070e979516..b8439ba982b 100644 --- a/gix-merge/Cargo.toml +++ b/gix-merge/Cargo.toml @@ -33,7 +33,7 @@ gix-revision = { version = "^0.30.0", path = "../gix-revision", default-features gix-revwalk = { version = "^0.16.0", path = "../gix-revwalk" } gix-diff = { version = "^0.47.0", path = "../gix-diff", default-features = false, features = ["blob"] } -thiserror = "1.0.63" +thiserror = "2.0.0" imara-diff = { version = "0.1.7" } bstr = { version = "1.5.0", default-features = false } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } diff --git a/gix-negotiate/Cargo.toml b/gix-negotiate/Cargo.toml index 7d030836dfb..2c56b86a9a1 100644 --- a/gix-negotiate/Cargo.toml +++ b/gix-negotiate/Cargo.toml @@ -21,7 +21,7 @@ gix-object = { version = "^0.45.0", path = "../gix-object" } gix-date = { version = "^0.9.1", path = "../gix-date" } gix-commitgraph = { version = "^0.25.0", path = "../gix-commitgraph" } gix-revwalk = { version = "^0.16.0", path = "../gix-revwalk" } -thiserror = "1.0.40" +thiserror = "2.0.0" smallvec = "1.10.0" bitflags = "2" diff --git a/gix-object/Cargo.toml b/gix-object/Cargo.toml index 87deb04b857..9c3db013606 100644 --- a/gix-object/Cargo.toml +++ b/gix-object/Cargo.toml @@ -53,7 +53,7 @@ gix-date = { version = "^0.9.1", path = "../gix-date" } gix-utils = { version = "^0.1.13", path = "../gix-utils" } itoa = "1.0.1" -thiserror = "1.0.34" +thiserror = "2.0.0" bstr = { version = "1.3.0", default-features = false, features = [ "std", "unicode", diff --git a/gix-odb/Cargo.toml b/gix-odb/Cargo.toml index a27ec8ad874..c54d3c14c44 100644 --- a/gix-odb/Cargo.toml +++ b/gix-odb/Cargo.toml @@ -32,7 +32,7 @@ gix-fs = { version = "^0.12.0", path = "../gix-fs" } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } tempfile = "3.10.0" -thiserror = "1.0.26" +thiserror = "2.0.0" parking_lot = { version = "0.12.0" } arc-swap = "1.5.0" diff --git a/gix-pack/Cargo.toml b/gix-pack/Cargo.toml index 679a2c07aa5..05bd68a24b9 100644 --- a/gix-pack/Cargo.toml +++ b/gix-pack/Cargo.toml @@ -48,7 +48,7 @@ gix-diff = { version = "^0.47.0", path = "../gix-diff", default-features = false memmap2 = "0.9.0" smallvec = "1.3.0" parking_lot = { version = "0.12.0", default-features = false, optional = true } -thiserror = "1.0.26" +thiserror = "2.0.0" # for caching uluru = { version = "3.0.0", optional = true } diff --git a/gix-packetline-blocking/Cargo.toml b/gix-packetline-blocking/Cargo.toml index 5427919c5a5..4c2b047201c 100644 --- a/gix-packetline-blocking/Cargo.toml +++ b/gix-packetline-blocking/Cargo.toml @@ -32,7 +32,7 @@ serde = ["dep:serde", "bstr/serde"] gix-trace = { version = "^0.1.11", path = "../gix-trace" } serde = { version = "1.0.114", optional = true, default-features = false, features = ["std", "derive"] } -thiserror = "1.0.34" +thiserror = "2.0.0" faster-hex = { version = "0.9.0" } bstr = { version = "1.3.0", default-features = false, features = ["std"] } diff --git a/gix-packetline/Cargo.toml b/gix-packetline/Cargo.toml index ca44163cb9f..f2a78eb865a 100644 --- a/gix-packetline/Cargo.toml +++ b/gix-packetline/Cargo.toml @@ -44,7 +44,7 @@ required-features = ["blocking-io", "maybe-async/is_sync"] gix-trace = { version = "^0.1.11", path = "../gix-trace" } serde = { version = "1.0.114", optional = true, default-features = false, features = ["std", "derive"] } -thiserror = "1.0.34" +thiserror = "2.0.0" faster-hex = { version = "0.9.0" } bstr = { version = "1.3.0", default-features = false, features = ["std"] } # async support diff --git a/gix-path/Cargo.toml b/gix-path/Cargo.toml index b9511e0e348..c049db713f1 100644 --- a/gix-path/Cargo.toml +++ b/gix-path/Cargo.toml @@ -17,7 +17,7 @@ doctest = false [dependencies] gix-trace = { version = "^0.1.11", path = "../gix-trace" } bstr = { version = "1.3.0", default-features = false, features = ["std"] } -thiserror = "1.0.26" +thiserror = "2.0.0" once_cell = "1.17.1" [target.'cfg(not(target_family = "wasm"))'.dependencies] diff --git a/gix-pathspec/Cargo.toml b/gix-pathspec/Cargo.toml index 1ee84fbac02..3b718360bee 100644 --- a/gix-pathspec/Cargo.toml +++ b/gix-pathspec/Cargo.toml @@ -22,7 +22,7 @@ gix-config-value = { version = "^0.14.9", path = "../gix-config-value" } bstr = { version = "1.3.0", default-features = false, features = ["std"] } bitflags = "2" -thiserror = "1.0.26" +thiserror = "2.0.0" [dev-dependencies] gix-testtools = { path = "../tests/tools" } diff --git a/gix-prompt/Cargo.toml b/gix-prompt/Cargo.toml index 4de04fd8e66..4af24323bb9 100644 --- a/gix-prompt/Cargo.toml +++ b/gix-prompt/Cargo.toml @@ -18,7 +18,7 @@ doctest = false gix-command = { version = "^0.3.10", path = "../gix-command" } gix-config-value = { version = "^0.14.9", path = "../gix-config-value" } -thiserror = "1.0.32" +thiserror = "2.0.0" [target.'cfg(unix)'.dependencies] rustix = { version = "0.38.4", features = ["termios"] } diff --git a/gix-protocol/Cargo.toml b/gix-protocol/Cargo.toml index 35407ee5946..e1544fba119 100644 --- a/gix-protocol/Cargo.toml +++ b/gix-protocol/Cargo.toml @@ -56,7 +56,7 @@ gix-date = { version = "^0.9.1", path = "../gix-date" } gix-credentials = { version = "^0.25.0", path = "../gix-credentials" } gix-utils = { version = "^0.1.13", path = "../gix-utils" } -thiserror = "1.0.32" +thiserror = "2.0.0" serde = { version = "1.0.114", optional = true, default-features = false, features = [ "derive", ] } diff --git a/gix-quote/Cargo.toml b/gix-quote/Cargo.toml index 36de42bf69a..33dce433b1d 100644 --- a/gix-quote/Cargo.toml +++ b/gix-quote/Cargo.toml @@ -18,4 +18,4 @@ doctest = false gix-utils = { version = "^0.1.13", path = "../gix-utils" } bstr = { version = "1.3.0", default-features = false, features = ["std"] } -thiserror = "1.0.38" +thiserror = "2.0.0" diff --git a/gix-ref/Cargo.toml b/gix-ref/Cargo.toml index e2225616c3c..d7d6e1d48b5 100644 --- a/gix-ref/Cargo.toml +++ b/gix-ref/Cargo.toml @@ -32,7 +32,7 @@ gix-actor = { version = "^0.33.0", path = "../gix-actor" } gix-lock = { version = "^15.0.0", path = "../gix-lock" } gix-tempfile = { version = "^15.0.0", default-features = false, path = "../gix-tempfile" } -thiserror = "1.0.34" +thiserror = "2.0.0" winnow = { version = "0.6", features = ["simd"] } serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } diff --git a/gix-refspec/Cargo.toml b/gix-refspec/Cargo.toml index f18af63de44..3313971c156 100644 --- a/gix-refspec/Cargo.toml +++ b/gix-refspec/Cargo.toml @@ -20,7 +20,7 @@ gix-validate = { version = "^0.9.1", path = "../gix-validate" } gix-hash = { version = "^0.15.0", path = "../gix-hash" } bstr = { version = "1.3.0", default-features = false, features = ["std"] } -thiserror = "1.0.26" +thiserror = "2.0.0" smallvec = "1.9.0" [dev-dependencies] diff --git a/gix-revision/Cargo.toml b/gix-revision/Cargo.toml index 54003abfbb3..d700d425584 100644 --- a/gix-revision/Cargo.toml +++ b/gix-revision/Cargo.toml @@ -37,7 +37,7 @@ gix-trace = { version = "^0.1.11", path = "../gix-trace", optional = true } bstr = { version = "1.3.0", default-features = false, features = ["std"] } bitflags = { version = "2", optional = true } -thiserror = "1.0.26" +thiserror = "2.0.0" serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] } document-features = { version = "0.2.1", optional = true } diff --git a/gix-revwalk/Cargo.toml b/gix-revwalk/Cargo.toml index 7a75a0d5792..76d5fc9443d 100644 --- a/gix-revwalk/Cargo.toml +++ b/gix-revwalk/Cargo.toml @@ -21,5 +21,5 @@ gix-date = { version = "^0.9.1", path = "../gix-date" } gix-hashtable = { version = "^0.6.0", path = "../gix-hashtable" } gix-commitgraph = { version = "^0.25.0", path = "../gix-commitgraph" } -thiserror = "1.0.26" +thiserror = "2.0.0" smallvec = "1.10.0" diff --git a/gix-status/Cargo.toml b/gix-status/Cargo.toml index 539c8728282..99b2ab49420 100644 --- a/gix-status/Cargo.toml +++ b/gix-status/Cargo.toml @@ -33,7 +33,7 @@ gix-pathspec = { version = "^0.8.0", path = "../gix-pathspec" } gix-dir = { version = "^0.9.0", path = "../gix-dir", optional = true } gix-diff = { version = "^0.47.0", path = "../gix-diff", default-features = false, features = ["blob"], optional = true } -thiserror = "1.0.26" +thiserror = "2.0.0" filetime = "0.2.15" bstr = { version = "1.3.0", default-features = false } diff --git a/gix-submodule/Cargo.toml b/gix-submodule/Cargo.toml index c4423dabb1c..e96322e03c4 100644 --- a/gix-submodule/Cargo.toml +++ b/gix-submodule/Cargo.toml @@ -22,7 +22,7 @@ gix-path = { version = "^0.10.12", path = "../gix-path" } gix-url = { version = "^0.28.0", path = "../gix-url" } bstr = { version = "1.5.0", default-features = false } -thiserror = "1.0.44" +thiserror = "2.0.0" [dev-dependencies] gix-testtools = { path = "../tests/tools" } diff --git a/gix-transport/Cargo.toml b/gix-transport/Cargo.toml index b47d1469dd9..c526a328019 100644 --- a/gix-transport/Cargo.toml +++ b/gix-transport/Cargo.toml @@ -95,7 +95,7 @@ bstr = { version = "1.3.0", default-features = false, features = [ "std", "unicode", ] } -thiserror = "1.0.26" +thiserror = "2.0.0" # for async-client async-trait = { version = "0.1.51", optional = true } diff --git a/gix-traverse/Cargo.toml b/gix-traverse/Cargo.toml index 973e643e66e..2e9b4d7a390 100644 --- a/gix-traverse/Cargo.toml +++ b/gix-traverse/Cargo.toml @@ -23,5 +23,5 @@ gix-hashtable = { version = "^0.6.0", path = "../gix-hashtable" } gix-revwalk = { version = "^0.16.0", path = "../gix-revwalk" } gix-commitgraph = { version = "^0.25.0", path = "../gix-commitgraph" } smallvec = "1.10.0" -thiserror = "1.0.32" +thiserror = "2.0.0" bitflags = "2" diff --git a/gix-url/Cargo.toml b/gix-url/Cargo.toml index 7194e8b9c15..d61c6a61ba3 100644 --- a/gix-url/Cargo.toml +++ b/gix-url/Cargo.toml @@ -23,7 +23,7 @@ gix-features = { version = "^0.39.0", path = "../gix-features" } gix-path = { version = "^0.10.12", path = "../gix-path" } serde = { version = "1.0.114", optional = true, default-features = false, features = ["std", "derive"] } -thiserror = "1.0.32" +thiserror = "2.0.0" url = "2.5.2" bstr = { version = "1.3.0", default-features = false, features = ["std"] } diff --git a/gix-validate/Cargo.toml b/gix-validate/Cargo.toml index 1e6e49cb8e5..92bf2c29024 100644 --- a/gix-validate/Cargo.toml +++ b/gix-validate/Cargo.toml @@ -16,7 +16,7 @@ doctest = false test = true [dependencies] -thiserror = "1.0.34" +thiserror = "2.0.0" bstr = { version = "1.3.0", default-features = false, features = ["std"] } [dev-dependencies] diff --git a/gix-worktree-state/Cargo.toml b/gix-worktree-state/Cargo.toml index 54e54d1a976..8b3645ff91f 100644 --- a/gix-worktree-state/Cargo.toml +++ b/gix-worktree-state/Cargo.toml @@ -27,5 +27,5 @@ gix-features = { version = "^0.39.0", path = "../gix-features" } gix-filter = { version = "^0.14.0", path = "../gix-filter" } io-close = "0.3.7" -thiserror = "1.0.26" +thiserror = "2.0.0" bstr = { version = "1.3.0", default-features = false } diff --git a/gix-worktree-stream/Cargo.toml b/gix-worktree-stream/Cargo.toml index 11b883b0b71..ee368a88426 100644 --- a/gix-worktree-stream/Cargo.toml +++ b/gix-worktree-stream/Cargo.toml @@ -24,7 +24,7 @@ gix-traverse = { version = "^0.42.0", path = "../gix-traverse" } gix-fs = { version = "^0.12.0", path = "../gix-fs" } gix-path = { version = "^0.10.12", path = "../gix-path" } -thiserror = "1.0.26" +thiserror = "2.0.0" parking_lot = "0.12.1" [dev-dependencies] diff --git a/gix/Cargo.toml b/gix/Cargo.toml index 3d7501515da..8bdff7f6dfc 100644 --- a/gix/Cargo.toml +++ b/gix/Cargo.toml @@ -377,7 +377,7 @@ gix-transport = { version = "^0.43.0", path = "../gix-transport", optional = tru prodash = { version = "29.0.0", optional = true, features = ["progress-tree"] } once_cell = "1.14.0" signal-hook = { version = "0.3.9", default-features = false, optional = true } -thiserror = "1.0.26" +thiserror = "2.0.0" serde = { version = "1.0.114", optional = true, default-features = false, features = [ "derive", ] }