xref: /openbmc/qemu/rust/qemu-api/README.md (revision 5a5110d2)
1# QEMU bindings and API wrappers
2
3This library exports helper Rust types, Rust macros and C FFI bindings for internal QEMU APIs.
4
5The C bindings can be generated with `bindgen`, using this build target:
6
7```console
8$ ninja bindings.rs
9```
10
11## Generate Rust documentation
12
13To generate docs for this crate, including private items:
14
15```sh
16cargo doc --no-deps --document-private-items
17```
18