Crates.io | qapi-spec |
lib.rs | qapi-spec |
version | 0.3.2 |
source | src |
created_at | 2018-03-14 00:23:10.733364 |
updated_at | 2024-09-09 19:48:40.437396 |
description | QEMU QAPI common types |
homepage | |
repository | https://github.com/arcnmx/qapi-rs |
max_upload_size | |
id | 55456 |
size | 12,220 |
A rust library for interfacing with QEMU QAPI sockets.
See the documentation for up to date information, as well as the reference documentation for both the QEMU Machine Protocol and Guest Agent APIs.
There are two features (qga
and qmp
) which enable their respective functionality.
They can be enabled in your Cargo.toml
:
[dependencies]
qapi = { version = "0.15", features = [ "qmp" ] }
Short examples are available for both QMP and Guest Agent. Async/nonblocking examples using tokio are also available.