llm_kernel/config/mod.rs
1//! TOML config loader with auto-create from template.
2//!
3//! [`load_toml_config`] reads a TOML file and deserializes it into a typed
4//! config struct. If the file doesn't exist and a template is provided, it
5//! creates the file first.
6
7/// TOML config loader with auto-create from template.
8pub mod loader;
9/// Default config template generator.
10pub mod template;
11
12pub use loader::{FieldError, load_toml_config, validate_config};
13pub use template::default_config_template;