c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

commit d3ccf61c2bcd23b1b06ca36d6dbb03d7ec2569fb
parent 63ada2e32fefeaecc29f92bc764d20444805e698
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed, 12 Apr 2023 07:51:03 -0400

Update uuid requirement from 0.8.1 to 1.3.1 in /sdk (#237)

* Update uuid requirement from 0.8.1 to 1.3.1 in /sdk

Updates the requirements on [uuid](https://github.com/uuid-rs/uuid) to permit the latest version.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/0.8.1...1.3.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update for API changes in uuid crate

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Scouten <scouten@adobe.com>
Diffstat:
Msdk/Cargo.toml | 2+-
Msdk/src/claim.rs | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml @@ -85,7 +85,7 @@ thiserror = "1.0.40" treeline = "0.1.0" twoway = "0.2.2" url = "2.2.2" -uuid = { version = "0.8.1", features = ["serde", "v4", "wasm-bindgen"] } +uuid = { version = "1.3.1", features = ["serde", "v4", "wasm-bindgen"] } x509-parser = "0.15.0" x509-certificate = "0.19.0" diff --git a/sdk/src/claim.rs b/sdk/src/claim.rs @@ -281,10 +281,10 @@ impl Claim { Some(v) => format!( "{}:{}", v.to_lowercase(), - urn.to_urn().encode_lower(&mut Uuid::encode_buffer()) + urn.urn().encode_lower(&mut Uuid::encode_buffer()) ), None => urn - .to_urn() + .urn() .encode_lower(&mut Uuid::encode_buffer()) .to_string(), };