generate

Function generate 

Source
pub fn generate(input: &PathBuf) -> Result<(), String>
Expand description

Generates rust source code from the given input file and saves it to the file generated/keygen/keygen.rs.

This function generates the code with a standard configuration. For examples and more configuration options see generate_with_config.

Examples found in repository?
examples/simple-example.rs (line 8)
6fn main() {
7    let input_path = PathBuf::new().join("examples/simple.keys");
8    generate(&input_path).unwrap();
9}