diff --git a/Cargo.toml b/Cargo.toml index 69bfe988..c544682a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ crate-type = ["lib", "cdylib"] normal = ["openssl-src"] [dependencies] -c2pa = { version = "0.44.0", features = ["file_io", "openssl", "pdf", "fetch_remote_manifests"]} +c2pa = { version = "0.45.0", features = ["file_io", "openssl", "pdf", "fetch_remote_manifests"]} thiserror = "1.0.49" uniffi = "0.28.2" openssl-src = "=300.3.1" # Required for openssl-sys diff --git a/src/error.rs b/src/error.rs index c08bf29d..39e32bd2 100644 --- a/src/error.rs +++ b/src/error.rs @@ -64,7 +64,9 @@ impl Error { | TooManyManifestStores => Self::Manifest { reason: err_str }, ClaimMissing { label } => Self::ManifestNotFound { reason: err_str }, AssertionDecoding(_) | ClaimDecoding => Self::Decoding { reason: err_str }, - AssertionEncoding(_) | XmlWriteError | ClaimEncoding => Self::Encoding { reason: err_str }, + AssertionEncoding(_) | XmlWriteError | ClaimEncoding => { + Self::Encoding { reason: err_str } + } InvalidCoseSignature { coset_error } => Self::Signature { reason: err_str }, CoseSignatureAlgorithmNotSupported | CoseMissingKey diff --git a/tests/test_api.py b/tests/test_api.py index 66922b60..99f4824f 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -63,7 +63,7 @@ def getitem(d, key): class TestC2paSdk(unittest.TestCase): def test_version(self): - assert version() == "0.6.2" + assert version() == "0.6.3" def test_sdk_version(self): assert "c2pa-rs/" in sdk_version() diff --git a/tests/test_unit_tests.py b/tests/test_unit_tests.py index d10ab197..8a5434ad 100644 --- a/tests/test_unit_tests.py +++ b/tests/test_unit_tests.py @@ -25,7 +25,7 @@ class TestC2paSdk(unittest.TestCase): def test_version(self): - self.assertIn("0.6.2", sdk_version()) + self.assertIn("0.6.3", sdk_version()) class TestReader(unittest.TestCase):