We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132acdb commit 01f7d6cCopy full SHA for 01f7d6c
rust/catalyst-types/src/uuid/mod.rs
@@ -10,10 +10,10 @@ pub use v7::UuidV7;
10
pub const INVALID_UUID: uuid::Uuid = uuid::Uuid::from_bytes([0x00; 16]);
11
12
/// CBOR tag for UUID content.
13
-const UUID_CBOR_TAG: u64 = 37;
+pub const UUID_CBOR_TAG: u64 = 37;
14
15
/// Decode `CBOR` encoded `UUID`.
16
-pub fn decode_cbor_uuid(val: &coset::cbor::Value) -> anyhow::Result<uuid::Uuid> {
+pub(crate) fn decode_cbor_uuid(val: &coset::cbor::Value) -> anyhow::Result<uuid::Uuid> {
17
let Some((UUID_CBOR_TAG, coset::cbor::Value::Bytes(bytes))) = val.as_tag() else {
18
anyhow::bail!("Invalid CBOR encoded UUID type");
19
};
0 commit comments