Crates.io | virtio-bindings |
lib.rs | virtio-bindings |
version | 0.2.4 |
source | src |
created_at | 2019-10-10 07:15:59.695689 |
updated_at | 2024-10-21 07:39:48.828103 |
description | Rust FFI bindings to virtio generated using bindgen. |
homepage | |
repository | https://github.com/rust-vmm/vm-virtio |
max_upload_size | |
id | 171379 |
size | 144,458 |
Rust FFI bindings to virtio generated using bindgen.
Add this to your Cargo.toml
:
virtio-bindings = "0.2"
You can then import the bindings where you need them. As an example, to grab the bindings for virtio-blk, you can do:
use virtio_bindings::bindings::virtio_blk::*;
To update the bindings, follow the steps in the Contributing Document.