Skip to main content

Crate ej_config

Crate ej_config 

Source
Expand description

Configuration management for the EJ framework.

Provides types and utilities for managing EJ board configurations and global settings.

§Usage

use ej_config::{EjUserConfig, EjConfig};
use std::path::Path;

// Load user configuration from TOML file
let user_config = EjUserConfig::from_file(Path::new("../../../examples/config.toml")).unwrap();

// Convert to internal configuration
let config = EjConfig::from_user_config(user_config);

Re-exports§

pub use ej_config::EjConfig;
pub use ej_config::EjUserConfig;

Modules§

ej_board
Board definition types.
ej_board_config
Board configuration types.
ej_config
Core configuration types for the EJ framework.
error
Configuration error types.
prelude
Common types and utilities.