[package]
edition = "2024"
rust-version = "1.85"
name = "ironpress"
version = "1.2.0"
build = false
exclude = [
".github/",
".claude/",
"target/",
"docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust HTML/CSS/Markdown to PDF converter with layout engine, tables, images, custom fonts, and streaming output. No browser, no system dependencies."
documentation = "https://docs.rs/ironpress"
readme = "README.md"
keywords = [
"pdf",
"html",
"css",
"markdown",
"converter",
]
categories = [
"text-processing",
"encoding",
"template-engine",
]
license = "MIT"
repository = "https://github.com/gastongouron/ironpress"
[features]
async = ["tokio"]
default = []
remote = ["ureq"]
wasm = [
"wasm-bindgen",
"js-sys",
]
[lib]
name = "ironpress"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "ironpress"
path = "src/bin/cli.rs"
[[test]]
name = "pdf_smoke_tests"
path = "tests/pdf_smoke_tests.rs"
[[test]]
name = "proptest_properties"
path = "tests/proptest_properties.rs"
[[bench]]
name = "conversion"
path = "benches/conversion.rs"
harness = false
[dependencies.html5ever]
version = "0.27"
[dependencies.js-sys]
version = "0.3"
optional = true
[dependencies.markup5ever_rcdom]
version = "0.3"
[dependencies.pulldown-cmark]
version = "0.12"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"fs",
"rt",
]
optional = true
[dependencies.ureq]
version = "3"
optional = true
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]