[package]
edition = "2018"
name = "c2patool"
version = "0.26.26"
authors = [
"Gavin Peacock <gpeacock@adobe.com>",
"Maurice Fisher <mfisher@adobe.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "c2patool"
description = "Tool for displaying and creating C2PA manifests."
homepage = "https://contentauthenticity.org"
documentation = "https://opensource.contentauthenticity.org/docs/c2patool"
readme = "README.md"
keywords = [
"c2pa",
"xmp",
"metadata",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/contentauth/c2pa-rs/tree/main/cli"
resolver = "3"
[features]
default = ["networking"]
networking = ["c2pa/default_http"]
[[bin]]
name = "c2patool"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.atree]
version = "0.5.2"
[dependencies.c2pa]
version = "0.75.18"
features = [
"fetch_remote_manifests",
"file_io",
"add_thumbnails",
"pdf",
]
[dependencies.clap]
version = "4.5.50"
features = [
"derive",
"env",
"string",
]
[dependencies.env_logger]
version = "0.11.8"
[dependencies.etcetera]
version = "0.11.0"
[dependencies.glob]
version = "0.3.1"
[dependencies.log]
version = "0.4"
[dependencies.pem]
version = "3.0.6"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3.3"
[dependencies.toml]
version = "0.9.10"
[dependencies.treeline]
version = "0.1.0"
[dependencies.url]
version = "2.5.0"
[dev-dependencies.mockall]
version = "0.14.0"
[target.'cfg(not(target_os = "wasi"))'.dependencies.reqwest]
version = "0.12.4"
features = ["blocking"]
[target.'cfg(not(target_os = "wasi"))'.dependencies.tokio]
version = "1.44.2"
features = [
"rt",
"rt-multi-thread",
]
[target.'cfg(not(target_os = "wasi"))'.dev-dependencies.assert_cmd]
version = "2.0.14"
[target.'cfg(not(target_os = "wasi"))'.dev-dependencies.httpmock]
version = "0.8.2"
[target.'cfg(not(target_os = "wasi"))'.dev-dependencies.predicates]
version = "3.1"
[target.'cfg(target_os = "wasi")'.dependencies.wasi]
version = "0.14"
[target.'cfg(target_os = "wasi")'.dependencies.wstd]
version = "0.5"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(test)"]