//! Compiles the Slint markup and writes the generated Rust. //! //! Without this, `slint::include_modules!` has nothing to expand to: it reads the //! path to the generated file from an environment variable that only this build //! script sets. fn main() { let config = slint_build::CompilerConfiguration::new().with_style("fluent".to_owned()); slint_build::compile_with_config("ui/camera.slint", config).expect("compiling ui/camera.slint"); }