[package]
edition = "2024"
rust-version = "1.88.0"
name = "mdbook-preprocessor"
version = "0.5.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library to assist implementing an mdBook preprocessor"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/rust-lang/mdBook"
[lib]
name = "mdbook_preprocessor"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.mdbook-core]
version = "0.5.3"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[lints.clippy]
exhaustive_enums = "warn"
exhaustive_structs = "warn"
manual_non_exhaustive = "warn"
[lints.clippy.all]
level = "allow"
priority = -2
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
rust_2018_idioms = "warn"
unreachable_pub = "warn"