bragi
Helper crate used in code generated by bragi and Rust software written for Managarm.
The bindings can be generated from a build.rs file with the help of the
bragi-build crate.
Examples
Given the example bragi message:
message ExampleMessage 1 {
head(128):
uint32 a;
uint32 b;
}
Including generated bindings
// Include the generated bindings.
include_binding!
Encoding a message into a Vec<u8>
Decoding a message from a Vec<u8>
License
This crate is licensed under the MIT license. See the LICENSE file for more details.