[package]
edition = "2021"
rust-version = "1.87"
name = "c2pa-html"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "C2PA manifest embedding, referencing, and hard binding for HTML documents"
readme = "README.md"
keywords = [
"c2pa",
"provenance",
"html",
"manifest",
"content-credentials",
]
categories = [
"encoding",
"parser-implementations",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/writerslogic/c2pa-html"
[features]
python = ["dep:pyo3"]
[lib]
name = "c2pa_html"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[dependencies]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pyo3]
version = "0.25"
features = [
"extension-module",
"abi3-py39",
]
optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"