[package]
edition = "2024"
rust-version = "1.88"
name = "mant-engine"
version = "0.11.0"
build = false
include = [
"/Cargo.toml",
"/LICENSE",
"/README.md",
"/src/**",
"/tests/roff_lowering.rs",
"/tests/roff_lowering/**",
"/tests/markdown_pipeline.rs",
"/tests/markdown_pipeline/**",
"/tests/definition_normalization_layout.rs",
"/tests/query_report_boundary.rs",
"/tests/report_composition.rs",
"/tests/report_composition/**",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structured manual and Markdown document engine used by ManT"
homepage = "https://github.com/BryanHeBY/ManT"
readme = "README.md"
keywords = [
"man",
"mdoc",
"roff",
"markdown",
"parser",
]
categories = [
"parser-implementations",
"text-processing",
]
license = "Apache-2.0"
repository = "https://github.com/BryanHeBY/ManT"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["roff"]
roff = ["mant-loader/roff"]
[lib]
name = "mant_engine"
path = "src/lib.rs"
[[test]]
name = "definition_normalization_layout"
path = "tests/definition_normalization_layout.rs"
[[test]]
name = "markdown_pipeline"
path = "tests/markdown_pipeline.rs"
[[test]]
name = "query_report_boundary"
path = "tests/query_report_boundary.rs"
[[test]]
name = "report_composition"
path = "tests/report_composition.rs"
[[test]]
name = "roff_lowering"
path = "tests/roff_lowering.rs"
[dependencies.mant-ir]
version = "^0.11.0"
[dependencies.mant-loader]
version = "^0.11.0"
default-features = false
[dependencies.mant-protocol]
version = "^0.11.0"
[dependencies.mant-query]
version = "^0.11.0"
default-features = false
[dev-dependencies.flate2]
version = "1"
features = ["rust_backend"]
default-features = false
[dev-dependencies.libmandoc-rs]
version = "^0.10.0"
[dev-dependencies.mant-codec]
version = "^0.11.0"
default-features = false
[dev-dependencies.mant-render]
version = "^0.11.0"
[dev-dependencies.pulldown-cmark]
version = "0.13.4"
default-features = false
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.zstd]
version = "0.14.0"
default-features = false
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
unsafe_code = "deny"