aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2026-03-09 15:22:54 -0700
committerEllie Huxtable <ellie@elliehuxtable.com>2026-03-09 16:10:21 -0700
commitc2fa6048b69ec14396720e3577c6e6c490968275 (patch)
treed420101b97acb534ac82fdc6505c087ef082e993
parentchore: strip symbols in dist profile to reduce binary size (diff)
downloadatuin-c2fa6048b69ec14396720e3577c6e6c490968275.zip
chore: upgrade thiserror 1.x to 2.x to deduplicate dependency
Our crates used thiserror 1.x while the ratatui ecosystem already pulled in thiserror 2.x, resulting in both versions in the binary. The API is compatible; this consolidates to a single version.
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml2
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock
index ae1a8f33..989ef5c1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -346,7 +346,7 @@ dependencies = [
"strum",
"strum_macros",
"testing_logger",
- "thiserror 1.0.69",
+ "thiserror 2.0.18",
"time",
"tiny-bip39",
"tokio",
@@ -370,7 +370,7 @@ dependencies = [
"serde",
"sqlx",
"sysinfo",
- "thiserror 1.0.69",
+ "thiserror 2.0.18",
"time",
"typed-builder",
"uuid",
diff --git a/Cargo.toml b/Cargo.toml
index 70ed85db..dd1c85bf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,7 +50,7 @@ uuid = { version = "1.9", features = ["v4", "v7", "serde"] }
whoami = "2.1.0"
typed-builder = "0.18.2"
pretty_assertions = "1.3.0"
-thiserror = "1.0"
+thiserror = "2"
rustix = { version = "1.1.4", features = ["process", "fs"] }
tower = "0.5"
tracing = "0.1"