From cb509142eb30b2321c459317a404e2a09ff0ac50 Mon Sep 17 00:00:00 2001 From: Rasensprenger Date: Thu, 6 Aug 2026 05:02:35 +0200 Subject: [PATCH] Update Rust crate thiserror to v2 --- crypto/Cargo.toml | 2 +- files/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml index 404c56f..987ca6f 100644 --- a/crypto/Cargo.toml +++ b/crypto/Cargo.toml @@ -16,7 +16,7 @@ ed25519-dalek = { version = "2.2", optional = true, features = [ hkdf = { version = "0.13", optional = true } sha2 = { version = "0.11", optional = true } zeroize = { version = "1.9", features = ["derive"] } -thiserror = "1" +thiserror = "2" base64 = "0.23" rand_core = { version = "0.10.1" } rand = "0.10.2" diff --git a/files/Cargo.toml b/files/Cargo.toml index 2fba8a5..4dcecde 100644 --- a/files/Cargo.toml +++ b/files/Cargo.toml @@ -9,5 +9,5 @@ edition = "2024" mtp-crypto = { version = "0.2.0", path = "../crypto", default-features = false, features = ["chacha20poly1305", "hkdf"] } rand = "0.10.2" -thiserror = "1" +thiserror = "2" zeroize = "1.9"