96 releases (40 breaking)

1.0.0 Aug 3, 2022
0.40.0 Dec 12, 2024
0.39.0 Nov 13, 2024
0.33.1 Jul 30, 2024
0.0.1 Mar 23, 2022

#114 in Cryptography

Download history 41922/week @ 2024-08-22 15160/week @ 2024-08-29 23970/week @ 2024-09-05 28977/week @ 2024-09-12 28059/week @ 2024-09-19 31742/week @ 2024-09-26 29471/week @ 2024-10-03 22166/week @ 2024-10-10 27486/week @ 2024-10-17 30161/week @ 2024-10-24 35634/week @ 2024-10-31 27955/week @ 2024-11-07 36273/week @ 2024-11-14 55621/week @ 2024-11-21 31994/week @ 2024-11-28 45930/week @ 2024-12-05

174,779 downloads per month
Used in 3 crates

MIT/Apache

2MB
40K SLoC

C2PA Rust library

CI Latest Version docs.rs codecov

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:

Key features

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:

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.

State of the project

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.

New API

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.

Contributions and feedback

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.

License

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.

Dependencies

~29–48MB
~1M SLoC