Skip to main content

write_embed

Function write_embed 

Source
pub fn write_embed(recipes_subdir: &str) -> Result<()>
Expand description

Generate the embed slice and write it to $OUT_DIR/cookbook_recipes.rs. recipes_subdir is relative to $CARGO_MANIFEST_DIR. Intended for use from a crate’s build.rs.