naru_core/lib.rs
1//! Naru Core Library
2//!
3//! A security-first configuration manager with encryption and audit logging.
4//!
5//! ## Features
6//!
7//! - AES-256-GCM encryption
8//! - Argon2 key derivation
9//! - Hash-chained audit logging
10//! - Schema validation
11//! - Multi-format support (JSON, YAML, TOML, .env)
12//!
13//! ## Quick Start
14//!
15//! ```rust
16//! use naru_core::{ConfigFile, SchemaFile};
17//!
18//! let config = ConfigFile::new("MyProject");
19//! let schema = SchemaFile::new("1.0.0");
20//! ```
21
22pub mod core;
23
24pub use core::{
25 validate_value, BackupData, ConfigFile, ConfigFormat, ConfigValueEntry, EnvironmentConfig,
26 FieldDefinition, JsonFormat, NaruError, NaruResult, PropertiesFormat, SchemaFile, TomlFormat,
27 ValidationRules,
28};