markdown-contract 0.4.1

Contracts for markdown documents: declare the frontmatter, headings, tables and lists a document must have, and get findings with line numbers. The Rust twin of @osdlc/markdown-contract.
Documentation
[package]
name = "markdown-contract"
version = "0.4.1"
edition.workspace = true
rust-version.workspace = true
description = "Contracts for markdown documents: declare the frontmatter, headings, tables and lists a document must have, and get findings with line numbers. The Rust twin of @osdlc/markdown-contract."
license.workspace = true
repository.workspace = true
homepage = "https://github.com/osdlc/osdlc/tree/main/packages/rust/markdown-contract"
readme = "README.md"
keywords = ["markdown", "validation", "contract", "frontmatter", "lint"]
categories = ["parser-implementations", "text-processing", "development-tools"]
include = [
  "src/**/*.rs",
  "examples/**/*.rs",
  "README.md",
  "CHANGELOG.md",
  "LICENSE-MIT",
  "LICENSE-APACHE",
]

[features]
default = ["native"]
# The std::fs layer: walking a directory, and loading a config or contract
# file. Leave it off for wasm32-unknown-unknown; the rest of the crate takes
# strings and does no I/O.
native = []

[dependencies]
comrak = { workspace = true }
globset = { workspace = true }
# The fence lexer behind `select`: a heading inside fenced code is not one.
markdown-link = { workspace = true }
regex = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
thiserror = { workspace = true }

[lints]
workspace = true