# 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"
name = "adrs-core"
version = "0.7.1"
authors = ["josh rotenberg <joshrotenberg@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for managing Architecture Decision Records"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/joshrotenberg/adrs"
resolver = "2"

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

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

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

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

[dependencies.fuzzy-matcher]
version = "0.3"

[dependencies.mdbook-lint-core]
version = "0.14.2"

[dependencies.mdbook-lint-rulesets]
version = "0.14.2"
features = ["adr"]
default-features = false

[dependencies.minijinja]
version = "2"
features = ["loader"]

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

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

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "local-offset",
    "formatting",
    "macros",
    "serde",
    "parsing",
]

[dependencies.toml]
version = "0.8"

[dependencies.walkdir]
version = "2.5"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.test-case]
version = "3"
