ej_config/lib.rs
1//! Configuration management for the EJ framework.
2//!
3//! Provides types and utilities for managing EJ board configurations and global settings.
4//!
5//! # Usage
6//!
7//! ```rust
8//! use ej_config::{EjUserConfig, EjConfig};
9//! use std::path::Path;
10//!
11//! // Load user configuration from TOML file
12//! let user_config = EjUserConfig::from_file(Path::new("../../../examples/config.toml")).unwrap();
13//!
14//! // Convert to internal configuration
15//! let config = EjConfig::from_user_config(user_config);
16//! ```
17
18pub mod ej_board;
19pub mod ej_board_config;
20pub mod ej_config;
21pub mod error;
22pub mod prelude;
23
24pub use ej_config::{EjConfig, EjUserConfig};