Skip to content

Commit 2c69819

Browse files
authored
chore: Update deps (#87)
* fix: Up versions * ci: Clean up * ci: Format
1 parent 03c1be0 commit 2c69819

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
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.44.0", features = ["file_io", "openssl", "pdf", "fetch_remote_manifests"]}
15+
c2pa = { version = "0.45.0", 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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ 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 => {
68+
Self::Encoding { reason: err_str }
69+
}
6870
InvalidCoseSignature { coset_error } => Self::Signature { reason: err_str },
6971
CoseSignatureAlgorithmNotSupported
7072
| CoseMissingKey

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def getitem(d, key):
6363

6464
class TestC2paSdk(unittest.TestCase):
6565
def test_version(self):
66-
assert version() == "0.6.2"
66+
assert version() == "0.6.3"
6767

6868
def test_sdk_version(self):
6969
assert "c2pa-rs/" in sdk_version()

tests/test_unit_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
class TestC2paSdk(unittest.TestCase):
2727
def test_version(self):
28-
self.assertIn("0.6.2", sdk_version())
28+
self.assertIn("0.6.3", sdk_version())
2929

3030

3131
class TestReader(unittest.TestCase):

0 commit comments

Comments
 (0)