#virtio #bindings

virtio-bindings

Rust FFI bindings to virtio generated using bindgen

3 unstable releases

0.2.1 Jul 4, 2023
0.2.0 Feb 21, 2023
0.1.0 Oct 10, 2019

#37 in Hardware support

Download history 3633/week @ 2023-06-09 3665/week @ 2023-06-16 3832/week @ 2023-06-23 4646/week @ 2023-06-30 4366/week @ 2023-07-07 4376/week @ 2023-07-14 4527/week @ 2023-07-21 4154/week @ 2023-07-28 4948/week @ 2023-08-04 4253/week @ 2023-08-11 3873/week @ 2023-08-18 4046/week @ 2023-08-25 4400/week @ 2023-09-01 5947/week @ 2023-09-08 5868/week @ 2023-09-15 5669/week @ 2023-09-22

22,770 downloads per month
Used in 21 crates (15 directly)

BSD-3-Clause OR Apache-2.0

180KB
5.5K 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