cargo buildRelease build:
cargo build --releaseRun the CLI:
cargo run --bin c2pa-validate -- [OPTIONS] INPUT...Run tests with cargo test -p c2pa-validate. See TESTING.md for test layout, what is covered, and what currently prevents testing specific features (e.g. trust modes, sidecar manifests).
crates/c2pa-validate— Application crate and CLI binary (c2pa-validate)vendor/c2pa-rs— Local git subproject for thec2paSDK
The CLI depends on c2pa-rs by path (see crates/c2pa-validate/Cargo.toml), not from crates.io.
- Ensure the project builds and tests pass:
cargo buildandcargo test. - Follow existing code style and the project’s Rust/CLI conventions.
- For larger changes, open an issue or discussion first if helpful.
- Submit changes via pull request with a clear description of what changed and why.