Skip to content

Commit d0d6ef7

Browse files
committed
fix
1 parent 82074bb commit d0d6ef7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rust/signed_doc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license.workspace = true
1111
workspace = true
1212

1313
[dependencies]
14-
catalyst-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250116-02" }
14+
catalyst-types = { version = "0.0.1", git = "https://github.com/input-output-hk/catalyst-libs.git", tag = "r20250122-00" }
1515
anyhow = "1.0.95"
1616
serde = { version = "1.0.217", features = ["derive"] }
1717
serde_json = "1.0.134"

rust/signed_doc/src/metadata/algorithm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Algorith in COSE SIGN protected header.
1+
//! Cryptographic Algorithm in COSE SIGN protected header.
22
33
/// Cryptography Algorithm.
44
#[derive(Copy, Clone, Debug, serde::Deserialize)]

rust/signed_doc/src/metadata/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub struct Metadata {
3737
id: DocumentId,
3838
/// Document Version `UUIDv7`.
3939
ver: DocumentVersion,
40-
/// Crytpography Algorithm
40+
/// Cryptographic Algorithm
4141
alg: Algorithm,
4242
/// Document Payload Content Type.
4343
#[serde(rename = "content-type")]
@@ -322,7 +322,7 @@ pub(crate) fn encode_cbor_uuid<T: minicbor::encode::Encode<CborContext>>(
322322
///
323323
/// This is used to decode `UuidV4` and `UuidV7` types.
324324
pub(crate) fn decode_cbor_uuid<
325-
T: for<'a> minicbor::decode::Decode<'a, CborContext> + From<uuid::Uuid>,
325+
T: for<'a> minicbor::decode::Decode<'a, CborContext> + TryFrom<uuid::Uuid>,
326326
>(
327327
value: coset::cbor::Value,
328328
) -> anyhow::Result<T> {

0 commit comments

Comments
 (0)