armdb 0.11.0

sharded bitcask key-value storage optimized for NVMe
Documentation
//! Schema metadata, relation registry, CI validator and ER export.
//! Spec: docs/superpowers/specs/26-06-11-armdb-schema-metadata.md

mod access;
mod expected;
mod mermaid;
mod plan;
mod registry;
mod repair;
mod unique_repair;
mod validate;

pub use access::{IndexTarget, SchemaCollection};
pub use mermaid::{MermaidEr, SchemaFormatter};
pub use plan::{AmbiguityReason, AmbiguousRef};
pub use registry::{BuiltRegistry, FkLabel, RegistryBuildError, SchemaRegistry};
pub use repair::{
    CounterRepairStats, IndexRepairStats, NamespaceConflict, NamespaceRepairStats, RepairOptions,
    RepairReport, UndecodableSource, repair,
};
pub use validate::{Finding, RefDesc, ValidationReport, validate};

/// Re-exported so building a registry and matching on a finding need no direct
/// `armour_core` dependency: `CollectionKind` / `OnMissing` are arguments of
/// `register` / `fk`, and `RowPart` / `PathSeg` are payload of `DanglingFk` and
/// `AmbiguousRef`.
pub use armour_core::{CollectionKind, OnMissing, PathSeg, RowPart};

#[cfg(test)]
mod tests;