#[cfg(all(feature = "toml", feature = "placeholder"))] fn main() { use realme::prelude::*; std::env::set_var("SECRET_KEY", "123123"); let realme = Realme::builder() .load(Adaptor::new(FileSource::::new( "examples/placeholder/config.toml", ))) .build() .expect("Building configuration object"); println!("{realme:?}"); } #[cfg(not(all(feature = "toml", feature = "placeholder")))] fn main() { println!("Please enable toml and placeholder feature"); println!("cargo run --example placeholder --features toml,placeholder"); }