Function configure_me_codegen::build_script_auto
source · pub fn build_script_auto() -> Result<(), Error>
Expand description
Generates the source code for you
Finds the specification in Cargo.toml metadata.configure_me
This function should be used from build script as it relies on cargo environment. It handles
generating the name of the file (it’s called config.rs
inside OUT_DIR
) as well as notifying
cargo of the source file.