xref: /qemu/rust/qemu-api/README.md (revision 7a35e2fb80df4c536cc808e498a259d96d0a804e)
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.inc.rs
9```
10
11## Generate Rust documentation
12
13To generate docs for this crate, including private items:
14
15```sh
16pyvenv/bin/meson devenv -w ../rust cargo doc --no-deps --document-private-items
17```
18