# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "mdbook-termlink"
version = "0.0.6"
authors = ["Ruben Talstra"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "mdBook preprocessor that auto-links glossary terms throughout documentation"
readme = "README.md"
keywords = [
    "mdbook",
    "preprocessor",
    "glossary",
    "documentation",
    "markdown",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/rubentalstra/mdbook-termlink"

[lib]
name = "mdbook_termlink"
path = "src/lib.rs"

[[bin]]
name = "mdbook-termlink"
path = "src/main.rs"

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.glob]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.mdbook-preprocessor]
version = "0.5"

[dependencies.pulldown-cmark]
version = "0.13"

[dependencies.pulldown-cmark-to-cmark]
version = "22"

[dependencies.regex]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dev-dependencies.pretty_assertions]
version = "1.4"

[lints.clippy]
all = "warn"
nursery = "warn"
pedantic = "warn"

[lints.rust]
unsafe_code = "forbid"
