[package]
name = "c2patool"

# Please do not manually edit `version`. Version updates will be generated
# automatically when c2patool is published. Remember to use (MINOR) or (MAJOR)
# tags in the PR title to trigger non-patch updates as needed.
version = "0.7.0"

description = "Tool for displaying and creating C2PA manifests."
authors = ["Gavin Peacock <gpeacock@adobe.com>", "Maurice Fisher <mfisher@adobe.com>"]
license = "MIT OR Apache-2.0"
documentation = "https://opensource.contentauthenticity.org/docs/c2patool"
readme = "README.md"
keywords = ["c2pa", "xmp", "metadata"]
edition = "2018"
rust-version = "1.61.0"
homepage = "https://contentauthenticity.org"
repository = "https://github.com/contentauth/c2patool"

[dependencies]
anyhow = "1.0"
c2pa = { version = "0.28.2", features = ["fetch_remote_manifests", "file_io", "add_thumbnails", "xmp_write", "pdf"]}
clap = { version = "3.2", features = ["derive"] }
env_logger = "0.9"
log = "0.4" 
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
serde_json = "1.0"
tempfile = "3.3"

[dev-dependencies]
assert_cmd = "2.0"
predicates = "2.1"

[profile.release] 
strip = true  # Automatically strip symbols from the binary. 
opt-level = 3
lto = "thin" # Link time optimization.
