| Crates.io | bragi-build |
| lib.rs | bragi-build |
| version | 0.1.0 |
| created_at | 2025-04-30 22:53:25.467083+00 |
| updated_at | 2025-04-30 22:53:25.467083+00 |
| description | Helper function for invoking the bragi code generator from a build.rs file |
| homepage | |
| repository | https://github.com/managarm/bragi |
| max_upload_size | |
| id | 1655548 |
| size | 4,106 |
This crate provides a helper function for invoking the
bragi code generator from
within a build.rs file.
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.
This crate is licensed under the MIT license. See the LICENSE file for more details.