Skip to content

Commit d762471

Browse files
committed
feat: update for early v2 support
1 parent aeee63a commit d762471

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ crate-type = ["lib", "cdylib"]
1212
normal = ["openssl-src"]
1313

1414
[dependencies]
15-
c2pa = { version = "0.43.0", features = ["unstable_api", "file_io", "openssl", "pdf", "fetch_remote_manifests"]}
15+
c2pa = { git="https://github.com/contentauth/c2pa-rs", branch="main", features = ["file_io", "openssl", "pdf", "fetch_remote_manifests"]}
1616
thiserror = "1.0.49"
1717
uniffi = "0.28.2"
1818
openssl-src = "=300.3.1" # Required for openssl-sys

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl Error {
6464
| TooManyManifestStores => Self::Manifest { reason: err_str },
6565
ClaimMissing { label } => Self::ManifestNotFound { reason: err_str },
6666
AssertionDecoding(_) | ClaimDecoding => Self::Decoding { reason: err_str },
67-
AssertionEncoding | XmlWriteError | ClaimEncoding => Self::Encoding { reason: err_str },
67+
AssertionEncoding(_) | XmlWriteError | ClaimEncoding => Self::Encoding { reason: err_str },
6868
InvalidCoseSignature { coset_error } => Self::Signature { reason: err_str },
6969
CoseSignatureAlgorithmNotSupported
7070
| CoseMissingKey

0 commit comments

Comments
 (0)