Skip to content

Commit

Permalink
chore: bump c2patool version
Browse files Browse the repository at this point in the history
clippy fix for release
  • Loading branch information
gpeacock committed Feb 15, 2025
1 parent 9b725ba commit 5e3dd8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "c2patool"
default-run = "c2patool"
version = "0.13.3"
version = "0.14.0"
description = "Tool for displaying and creating C2PA manifests."
authors = [
"Gavin Peacock <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions sdk/src/asset_handlers/jpeg_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -618,10 +618,10 @@ impl RemoteRefEmbed for JpegIO {
None
}
})
.unwrap_or_else(|| (None, MIN_XMP));
.unwrap_or((None, MIN_XMP));

// add provenance and JPEG XMP prefix
let xmp = format!("{XMP_SIGNATURE}\0 {}", add_provenance(&xmp, &manifest_uri)?);
let xmp = format!("{XMP_SIGNATURE}\0 {}", add_provenance(xmp, &manifest_uri)?);
let segment = JpegSegment::new_with_contents(markers::APP1, Bytes::from(xmp));
// insert or add the segment
match xmp_index {
Expand Down

0 comments on commit 5e3dd8a

Please sign in to comment.