markdown-contract 0.4.0

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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! The corpus runner: glob-routed validation over a document set. The core takes
//! strings; the `native` feature adds a thin `std::fs` layer.
//!
//! This file is a barrel only: it re-exports, it holds no logic.

mod corpus;
#[cfg(feature = "native")]
mod native;

pub use corpus::{
    CorpusConfig, CorpusRule, GlobError, RunOptions, RunOutcome, RunStats, run_corpus,
};
#[cfg(feature = "native")]
pub use native::{NativeRunError, run_corpus_dir, walk_dir};