[package]
edition = "2024"
rust-version = "1.88"
name = "libmandoc-rs"
version = "0.5.0"
build = "build.rs"
links = "libmandoc_rs"
include = [
"/Cargo.toml",
"/README.md",
"/THIRD_PARTY_NOTICES.md",
"/LICENSES/**",
"/build.rs",
"/config/**",
"/shim/**",
"/src/**",
"/vendor/mandoc-1.14.6/**",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe, owned Rust interface to the vendored libmandoc parser"
homepage = "https://github.com/BryanHeBY/ManT"
readme = "README.md"
keywords = [
"man",
"mdoc",
"roff",
"mandoc",
"parser",
]
categories = [
"parser-implementations",
"text-processing",
]
license = "Apache-2.0 AND ISC AND BSD-2-Clause AND BSD-3-Clause"
repository = "https://github.com/BryanHeBY/ManT"
[features]
default = []
serde = ["dep:serde"]
[lib]
name = "libmandoc_rs"
path = "src/lib.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.zstd]
version = "0.13.3"
default-features = false
[dev-dependencies.serde_json]
version = "1"
[build-dependencies.cc]
version = "1"
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
unsafe_code = "deny"