printwell-cli 0.1.11

Command-line tool for HTML to PDF conversion
Documentation
[package]
name = "printwell-cli"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
readme = "../../README.md"
description = "Command-line tool for HTML to PDF conversion"

# Build as staticlib for linking by Chromium's ninja
# This keeps our Rust stdlib separate from Chromium's Rust stdlib
[lib]
name = "printwell_cli"
path = "src/lib.rs"
crate-type = ["staticlib"]

# Also build as binary for development/testing without Chromium
[[bin]]
name = "printwell"
path = "src/main.rs"

[dependencies]
printwell = { workspace = true }
tokio = { workspace = true }
clap = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
serde_json = { workspace = true }

[features]
default = []
encrypt = ["printwell/encrypt"]
watermark = ["printwell/watermark"]
bookmarks = ["printwell/bookmarks"]
annotations = ["printwell/annotations"]
pdfa = ["printwell/pdfa"]
pdfua = ["printwell/pdfua"]
forms = ["printwell/forms"]
signing = ["printwell/signing"]
timestamp = ["signing", "printwell/timestamp"]

[dev-dependencies]
tempfile = "3"
serde = { workspace = true }
serde_json = { workspace = true }

[lints]
workspace = true