decl-lang 0.4.7

Decl — a declarative language for describing, generating, and validating structured data: the `decl` CLI (check / evaluate / validate / fmt) and the `decl-lsp` language server, implemented natively in Rust
Documentation
// The crate's page is the README (crates.io shows it; docs.rs renders it
// here, its Rust examples compiled as doctests); every public item beneath
// it is documented, and the compiler holds the crate to that.
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
pub mod api;
pub mod ast;
pub mod checker;
pub mod cli;
pub mod conformance;
pub mod engine;
pub mod fmt;
pub mod infer;
pub mod lsp;
pub mod module;
pub mod package;
pub mod parse;
pub mod pipeline;
pub mod qengine;
pub mod render;
pub mod repl;
#[cfg(feature = "runtime-diagnostics")]
pub mod retention_diagnostics;
pub mod semantics;
pub mod session;
pub mod subsume;
pub mod yaml;

// the high-level API, in the command line's vocabulary
pub use api::{
    check, evaluate, evaluate_source, format_source, render, to_json, to_yaml, validate, DeclError,
    Diagnostic, Document, EvaluateOptions, RenderOptions, Rendered, Report, TemplateSource,
};

#[cfg(feature = "runtime-diagnostics")]
pub mod evaluation_diagnostics;

#[cfg(feature = "runtime-diagnostics")]
pub mod expression_diagnostics;

#[cfg(feature = "runtime-diagnostics")]
pub mod root_binding_diagnostics;

#[cfg(feature = "runtime-diagnostics")]
pub mod phase_events;

#[cfg(feature = "runtime-diagnostics")]
pub mod allocation_diagnostics;

#[cfg(feature = "serialization-census")]
pub mod serialization_diagnostics;