Crates.io | c2patool |
lib.rs | c2patool |
version | |
source | src |
created_at | 2022-06-10 01:22:07.103083 |
updated_at | 2024-12-12 18:30:03.132549 |
description | Tool for displaying and creating C2PA manifests. |
homepage | https://contentauthenticity.org |
repository | https://github.com/contentauth/c2pa-rs/tree/main/cli |
max_upload_size | |
id | 603117 |
Cargo.toml error: | TOML parse error at line 21, column 1 | 21 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
c2patool
is a command line tool for working with C2PA manifests and media assets (audio, image or video files).
Use the tool on a file in one of the supported formats to:
For a simple example of calling c2patool from a Node.js server application, see the c2pa-service-example repository.
Additional documentation:
There are two ways to install C2PA Tool:
NOTE: If you want to contribute to the C2PA Tool project itself, or if a pre-built binary is not available for your system, see Contributing to the project.
The quickest way to install the tool is to use the binary executable builds. If you just want to try C2PA Tool quickly:
PATH
.Confirm that you can run the tool by entering a command such as:
c2patool -h
NOTE: You also may want to get some of the example files provided in the repository sample
directory. To do so, clone the repository with git clone https://github.com/contentauth/c2patool.git
.
Installing C2PA Tool using Cargo Binstall is recommended because it makes it easier to:
Additionally, using Binstall enables you to automate code signing to ensure package integrity.
PREREQUISITE: Install Rust.
To install by using Binstall:
cargo-binstall
by following the quick install method for your OS, or by building from source by running cargo install cargo-binstall
cargo binstall c2patool
.To ensure you have the latest version, enter this command:
c2patool -V
The tool will display the version installed. Compare the version number displayed with the latest release version shown in the repository releases page.
If you need to upgrade, simply run cargo binstall c2patool
again, or use cargo-update.