[package]
edition = "2024"
rust-version = "1.85"
name = "ironpress"
version = "1.0.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 = []
wasm = [
"wasm-bindgen",
"js-sys",
]
[lib]
name = "ironpress"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[example]]
name = "convert"
path = "examples/convert.rs"
[[test]]
name = "proptest_properties"
path = "tests/proptest_properties.rs"
[dependencies.html5ever]
version = "0.27"
[dependencies.js-sys]
version = "0.3"
optional = true
[dependencies.markup5ever_rcdom]
version = "0.3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"fs",
"rt",
]
optional = true
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]