6 releases

0.2.4 Oct 21, 2024
0.2.3 Sep 10, 2024
0.2.2 Oct 26, 2023
0.2.1 Jul 4, 2023
0.1.0 Oct 10, 2019

#43 in Hardware support

Download history 4976/week @ 2024-07-23 4894/week @ 2024-07-30 4765/week @ 2024-08-06 5202/week @ 2024-08-13 4185/week @ 2024-08-20 6121/week @ 2024-08-27 8431/week @ 2024-09-03 28413/week @ 2024-09-10 26814/week @ 2024-09-17 19429/week @ 2024-09-24 9529/week @ 2024-10-01 8360/week @ 2024-10-08 6399/week @ 2024-10-15 5691/week @ 2024-10-22 5517/week @ 2024-10-29 7295/week @ 2024-11-05

25,777 downloads per month
Used in 24 crates (18 directly)

BSD-3-Clause OR Apache-2.0

145KB
3K SLoC

virtio-bindings

Rust FFI bindings to virtio generated using bindgen.

Usage

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::*;

Development

To update the bindings, follow the steps in the Contributing Document.

No runtime deps

Features