rust: Upgrade 'thiserror' to '2.0.6'

Since there have been breaking changes, let's fix them. Fortunately,
there was only one problem to fix.

Command line used:

  $ cargo upgrade --incompatible -p 'thiserror'

Acked-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2024-12-13 12:56:31 +01:00
committed by Jan Höppner
parent 739761f0d2
commit 43858063ca
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ log = { version = "0.4.22", features = ["std", "release_max_level_debug"] }
openssl = "0.10.68"
openssl-sys = "0.9.104"
serde = { version = "1.0.216", features = ["derive"] }
thiserror = "1.0.69"
thiserror = "2.0.6"
zerocopy = { version="0.7", features = ["derive"] }
pv_core = { path = "../pv_core", package = "s390_pv_core", version = "0.11.0" }
+1 -1
View File
@@ -55,7 +55,7 @@ pub enum Error {
#[error("Decryption failed. Probably due to a GCM tag mismatch.")]
GcmTagMismatch,
#[error("Invalid {0} user-data for signing provided. Max {} bytes allowed", .0.max())]
#[error("Invalid {0} user-data for signing provided. Max {max} bytes allowed", max=.0.max())]
AsrcbInvSgnUserData(UserDataType),
#[error("Unsupported user data signing key provided. Only EC(secp521r1) and RSA(2048 & 3072 bit) are supported")]