diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index d594d30f3..a1aaefe5f 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "c2pa" -version = "0.16.2" +version = "0.16.1" description = "Rust SDK for C2PA (Coalition for Content Provenance and Authenticity) implementors" authors = ["Maurice Fisher ", "Gavin Peacock ", "Eric Scouten ", "Leonard Rosenthol ", "Dave Kozma "] license = "MIT OR Apache-2.0" diff --git a/sdk/src/manifest_store.rs b/sdk/src/manifest_store.rs index 59729958a..bd36527e7 100644 --- a/sdk/src/manifest_store.rs +++ b/sdk/src/manifest_store.rs @@ -412,7 +412,7 @@ mod tests { fn manifest_report_from_file_with_resources() { let manifest_store = ManifestStore::from_file_with_resources( "tests/fixtures/CIE-sig-CA.jpg", - "../target/tmp/manifest_store", + "../target/tmp/ms", ) .expect("from_store_with_resources"); println!("{manifest_store}"); diff --git a/sdk/src/manifest_store_report.rs b/sdk/src/manifest_store_report.rs index 8aca70416..e1fd4d378 100644 --- a/sdk/src/manifest_store_report.rs +++ b/sdk/src/manifest_store_report.rs @@ -292,7 +292,11 @@ impl ManifestReport { Ok(Self { claim: serde_json::to_value(claim)?, // todo: this will lose tagging info assertion_store, - credential_store: (!credential_store.is_empty()).then_some(credential_store), + credential_store: if !credential_store.is_empty() { + Some(credential_store) + } else { + None + }, signature, }) }