pdfboss-cli 0.11.0

Command-line interface for pdfboss: info, text, render, obj, and the json/hex/q/tui explorer subcommands
[package]
name = "pdfboss-cli"
description = "Command-line interface for pdfboss: info, text, render, obj, and the json/hex/q/tui explorer subcommands"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true
keywords.workspace = true

[dependencies]
pdfboss-core = { workspace = true }
pdfboss-text = { workspace = true }
pdfboss-render = { workspace = true }
pdfboss-aio = { workspace = true, features = ["http"] }
pdfboss-tui = { workspace = true }
clap = { version = "4", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
base64 = "0.22"
tokio = { version = "1", features = ["rt", "net", "time"] }
futures-core = "0.3"
jaq-core = "2"
jaq-std = "2"
jaq-json = { version = "1", features = ["serde_json"] }

[dev-dependencies]
pdfboss-testkit = { path = "../pdfboss-testkit" }

[features]
# Bundled substitute faces are on by default: `cargo install pdfboss-cli`
# must yield a binary whose `render`/`tui` can draw text for PDFs with
# non-embedded fonts out of the box (~4 MB of OFL faces; opt out with
# --no-default-features).
default = ["substitute-fonts"]
# Passthrough so the feature is spelled `substitute-fonts` here too, without
# the caller needing the non-obvious `pdfboss-render/substitute-fonts`.
substitute-fonts = ["pdfboss-render/substitute-fonts"]

[[bin]]
name = "pdfboss"
path = "src/main.rs"