[package]
name = "lopdf-table"
version = "0.4.0"
edition = "2024"
authors = ["Oscar Rainford"]
license = "MIT"
description = "A composable table drawing library for PDFs built on lopdf"
repository = "https://github.com/fourbs-group/lopdf-table"
keywords = ["pdf", "table", "lopdf", "document", "generation"]
categories = ["graphics", "text-processing"]

[features]
default = ["ttf-parser"]
ttf-parser = ["dep:ttf-parser"]

[dependencies]
lopdf = { version = "0.39", features = ["embed_image"] }
tracing = "0.1"
thiserror = "2.0"
ttf-parser = { version = "0.25", optional = true }

[dev-dependencies]
image = { version = "0.25", default-features = false, features = ["jpeg", "png"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
