audb 0.1.11

AuDB - Compile-time database application framework with gold files
Documentation
//! Validation and type checking for AuDB projects
//!
//! This module provides compile-time validation for gold files and project models.
//! It performs:
//!
//! - Schema validation (field types, constraints)
//! - Query validation (parameter types, return types)
//! - Type checking (queries against schemas)
//! - Reference validation (undefined schemas, queries, endpoints)
//! - Duplicate detection (names, paths)
//!
//! ## Usage
//!
//! ```ignore
//! use audb::validation::Validator;
//!
//! let validator = Validator::new();
//! let report = validator.validate_project(&project)?;
//!
//! if !report.is_valid() {
//!     for error in report.errors {
//!         eprintln!("Error: {}", error);
//!     }
//! }
//! ```

pub mod ast_validator;
pub mod validator;

pub use ast_validator::{AstValidationReport, AstValidator};
pub use validator::{ValidationReport, Validator};