#build #file #idl #bragi-build #bragi

bragi-build

Helper function for invoking the bragi code generator from a build.rs file

1 unstable release

Uses new Rust 2024

new 0.1.0 Apr 30, 2025

#16 in #idl

Download history 90/week @ 2025-04-26

90 downloads per month

MIT license

3KB

bragi-build

This crate provides a helper function for invoking the bragi code generator from within a build.rs file.

Usage

Simply call the bragi_build::generate_bindings function with two arguments: the bragi source file path and the output file name.

The generated bindings will be written to the output directory under the specified name and a cargo instruction will be printed out to make sure the build script is re-run if the bragi source file is modified.

License

This crate is licensed under the MIT license. See the LICENSE file for more details.

No runtime deps