[package]
edition = "2021"
rust-version = "1.88"
name = "mini-docs"
version = "0.4.0"
authors = ["makeitmini"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal, secure build-time Markdown to HTML generator for the mini-* family."
homepage = "https://gitlab.com/makeitmini/backstack"
documentation = "https://docs.rs/mini-docs"
readme = "README.md"
keywords = [
"markdown",
"static-site",
"tera",
"html",
]
categories = [
"template-engine",
"text-processing",
]
license = "MIT"
repository = "https://gitlab.com/makeitmini/backstack"
[features]
default = ["sanitize"]
err = []
log = []
sanitize = ["dep:ammonia"]
[lib]
name = "mini_docs"
path = "src/lib.rs"
[[example]]
name = "mini-docs-static"
path = "examples/mini-docs-static.rs"
[[test]]
name = "analyzer_integration"
path = "tests/analyzer_integration.rs"
[[test]]
name = "data_json_index"
path = "tests/data_json_index.rs"
[[test]]
name = "full_boundary"
path = "tests/full_boundary.rs"
[[test]]
name = "incremental_rebuild_skips_unchanged"
path = "tests/incremental_rebuild_skips_unchanged.rs"
[[test]]
name = "processor_integration"
path = "tests/processor_integration.rs"
[[test]]
name = "sanitize_before_safe"
path = "tests/sanitize_before_safe.rs"
[[test]]
name = "template_error_is_typed"
path = "tests/template_error_is_typed.rs"
[[test]]
name = "template_load_order"
path = "tests/template_load_order.rs"
[[test]]
name = "walk_mirrors_input_structure"
path = "tests/walk_mirrors_input_structure.rs"
[[test]]
name = "watch_fans_out_template_changes"
path = "tests/watch_fans_out_template_changes.rs"
[[test]]
name = "watch_regenerates_data_json"
path = "tests/watch_regenerates_data_json.rs"
[dependencies.ammonia]
version = "4"
optional = true
[dependencies.pulldown-cmark]
version = "0.13"
features = ["html"]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tera]
version = "2"
[dev-dependencies.mini-static]
version = "0.18"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"net",
"rt",
"macros",
"time",
"sync",
"signal",
]