[package]
edition = "2024"
rust-version = "1.92"
name = "dais-document"
version = "0.1.0"
authors = ["Christopher T. Kenny"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Document source abstraction and PDF rendering for Dais"
homepage = "https://github.com/christopherkenny/dais"
documentation = "https://docs.rs/dais-document"
readme = "README.md"
keywords = [
"pdf",
"presentation",
"slides",
]
categories = [
"command-line-utilities",
"multimedia",
]
license = "MIT"
repository = "https://github.com/christopherkenny/dais"
resolver = "2"
[features]
default = ["hayro"]
hayro = ["dep:hayro"]
mupdf = []
[lib]
name = "dais_document"
path = "src/lib.rs"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.dais-core]
version = "0.1.0"
[dependencies.hayro]
version = "0.6"
features = ["embed-fonts"]
optional = true
[dependencies.image]
version = "0.25"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.typst]
version = "0.14"
[dependencies.typst-kit]
version = "0.14"
features = ["fonts"]
[dependencies.typst-library]
version = "0.14"
[dependencies.typst-render]
version = "0.14"
[lints.clippy]
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
struct_excessive_bools = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"