contentauth / c2pa-rs

Rust SDK for the core C2PA (Coalition for Content Provenance and Authenticity) specification
Other
128 stars 57 forks source link

feat: Adds ValidationState support #701

Open gpeacock opened 4 days ago

gpeacock commented 4 days ago

Adds Reader.validation_state() method. This replaces validation checks for validation_status() == None.

codecov[bot] commented 4 days ago

Codecov Report

Attention: Patch coverage is 95.45455% with 3 lines in your changes missing coverage. Please review.

Project coverage is 81.55%. Comparing base (2a41ee5) to head (1742307).

Files with missing lines Patch % Lines
sdk/src/reader.rs 95.45% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #701 +/- ## ========================================== + Coverage 81.52% 81.55% +0.02% ========================================== Files 104 103 -1 Lines 30614 30466 -148 ========================================== - Hits 24958 24846 -112 + Misses 5656 5620 -36 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.