Module render

Source
Expand description

“Render” files using tera templates.

Structs§

CargoTomlForWorkspace
Context argument for the CARGO_TOML_FOR_WORKSPACE template.
Template
A predefined template.

Constants§

CARGO_NIX
The template for generating Cargo.nix.
SOURCES_NIX
The template for generating a directory with all out of tree sources.

Functions§

check_generated_by_crate2nix
Ensures that the given path either does not exist or contains a file that was generated by crate2nix.
escape_nix_string
Escapes a string as a nix string.