[package] name = "pdfcraft-automation" description = "Agent control for PdfCraft: a headless tool set over the engine and an MCP server" version.workspace = true edition.workspace = true license.workspace = true [lints] workspace = true [dependencies] pdfcraft-engine = { workspace = true } pdfcraft-cos = { workspace = true } pdfcraft-render = { workspace = true } pdfcraft-organize = { workspace = true } pdfcraft-platform = { workspace = true } serde_json = { workspace = true } sha2 = "0.11" tempfile = "3.27" png = "0.18" base64 = { version = "0.22", optional = true } [features] default = ["mcp"] # The MCP server module. Opt-in at run time either way; disable to leave it out of the build. mcp = ["dep:base64"] [dev-dependencies] pdfcraft-fonts = { workspace = true } flate2.workspace = true pdfcraft-model = { workspace = true } pdfcraft-xfa = { workspace = true } image = { version = "0.25", default-features = false, features = ["jpeg"] }