alpha2-diagnose 0.10.0

Format-neutral document diagnostics for alpha2: a document tree, a JSON reader that recovers, a schema walker, advice and fixes.
Documentation
//! Format-neutral document diagnostics.
//!
//! A document is read into a [`Node`] tree that keeps where each value was in the text. Problems
//! are [`Diagnostic`]s with a stable [`Code`], a [`Path`], a place, a message and, where it can be
//! known, help and [`Fix`]es. A [`Report`] orders, groups and caps them for one document and
//! renders them as text. Nothing here knows an alpha2 document type: the project and compose
//! packs in `alpha2-model` and `alpha2-compose` bring their schemas, rules and judges.

pub mod advise;
pub mod codes;
mod diagnostic;
pub mod fix;
mod path;
pub mod read;
pub mod render;
mod report;
pub mod run;
pub mod schema;
pub mod shape;
pub mod suggest;
mod tree;
pub mod write;

pub use diagnostic::{
    Applicability, Code, Collector, Diagnostic, Edit, Fix, REVIEW_PREFIX, Reference, Severity,
};
pub use path::{Path, PathError, Segment};
#[cfg(feature = "schema")]
pub use report::report_json_schema;
pub use report::{
    Counts, DEFAULT_LIMIT, MAX_ALSO, MAX_EXCERPT_BYTES, Options, REPORT_SCHEMA_ID, Report, excerpt,
    group, order,
};
pub use tree::{Entry, Node, Number, NumberKind, Span, Value};