actr-config 0.1.5

Configuration file parser and project manifest support for Actor-RTC framework
Documentation

actr-config

Configuration file parser and project manifest support for Actor-RTC framework.

This crate provides a two-layer configuration system:

  • RawConfig: Direct TOML mapping (no processing)
  • Config: Fully parsed and validated final configuration

The parser uses an edition-based system, allowing the configuration format to evolve over time while maintaining backward compatibility.

Example

# fn main() -> Result<(), Box<dyn std::error::Error>> {
use actr_config::ConfigParser;

// Parse configuration from file
let config = ConfigParser::from_file("Actr.toml")?;

// Access parsed values
println!("Package: {}", config.package.name);
println!("Realm: {}", config.realm.realm_id);
# Ok(())
# }