[package]
edition = "2024"
rust-version = "1.88"
name = "postext"
version = "1.91.2"
authors = ["Postext contributors"]
build = false
include = [
"src/**/*.rs",
"tests/**/*.rs",
"README.md",
"LICENSE",
"Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typeset books from Rust with Postext: PDF, HTML, EPUB, page images, Word and InDesign from a .postext book or Markdown, through the self-contained postext command line."
homepage = "https://postext.dev/"
documentation = "https://docs.rs/postext"
readme = "README.md"
keywords = [
"typesetting",
"pdf",
"epub",
"markdown",
"book",
]
categories = [
"text-processing",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/drnachio/postext"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["download"]
download = [
"dep:ureq",
"dep:sha2",
]
[lib]
name = "postext"
path = "src/lib.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "download"
path = "tests/download.rs"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
optional = true
[dependencies.tempfile]
version = "3"
[dependencies.ureq]
version = "3"
optional = true
[dev-dependencies.sha2]
version = "0.11"