The Coalition for Content Provenance and Authenticity (C2PA) addresses the prevalence of misleading information online through the development of technical standards for certifying the source and history (or provenance) of media content. The C2PA Rust library is part of the Content Authenticity Initiative open-source SDK.
For the best experience, read the docs on the CAI Open Source SDK documentation website. Some additional documentation for this repository is also available on GitHub:
The c2pa-rs repository implements a subset of the C2PA technical specification in the Rust programming language.
The library enables a desktop, mobile, or embedded application to:
- Create and sign C2PA claims and manifests.
- Embed manifests in supported file formats.
- Parse and validate manifests found in supported file formats.
The library supports several common C2PA assertions and hard bindings.
For details on what you can do with the library, see Using the Rust library.
This is a beta release (version 0.x.x) of the project. The minor version number (0.x.0) is incremented when there are breaking API changes, which may happen frequently.
NOTE: The current release includes a new API that replaces old methods of reading and writing C2PA data, which are deprecated. See the release notes for more information.
We welcome contributions to this project. For information on contributing, providing feedback, and about ongoing work, see Contributing. For additional information on nightly builds and testing, see Contributing to the project.
The c2pa
crate is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
Some components and dependent crates are licensed under different terms; please check their licenses for details.