mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
739761f0d2
commit
43858063ca
+1
-1
@@ -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" }
|
||||
|
||||
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user