| Crates.io | virtio-bindings |
| lib.rs | virtio-bindings |
| version | 0.2.6 |
| created_at | 2019-10-10 07:15:59.695689+00 |
| updated_at | 2025-06-26 14:17:28.934002+00 |
| description | Rust FFI bindings to virtio generated using bindgen. |
| homepage | |
| repository | https://github.com/rust-vmm/vm-virtio |
| max_upload_size | |
| id | 171379 |
| size | 2,523,805 |
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.