holoconf_core/
lib.rs

1//! holoconf-core: Configuration library with resolver support
2//!
3//! This crate provides the core functionality for loading, parsing, and resolving
4//! configuration files with interpolation support.
5//!
6//! # Example
7//!
8//! ```rust
9//! use holoconf_core::Config;
10//!
11//! let yaml = r#"
12//! database:
13//!   host: localhost
14//!   port: 5432
15//! "#;
16//!
17//! let config = Config::from_yaml(yaml).unwrap();
18//! assert_eq!(config.get("database.host").unwrap().as_str(), Some("localhost"));
19//! ```
20
21pub mod error;
22pub mod interpolation;
23pub mod resolver;
24pub mod schema;
25pub mod value;
26
27mod config;
28
29pub use config::{Config, ConfigOptions};
30pub use error::{Error, Result};
31pub use resolver::{ResolvedValue, Resolver, ResolverRegistry};
32pub use schema::Schema;
33pub use value::Value;