xref: /qemu/rust/qemu-api/README.md (revision 513823e7521a09ed7ad1e32e6454bac3b2cbf52d)
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$ make bindings.inc.rs
9```
10
11## Generate Rust documentation
12
13Common Cargo tasks can be performed from the QEMU build directory
14
15```console
16$ make clippy
17$ make rustfmt
18$ make rustdoc
19```
20