4 releases

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

#45 in Hardware support

Download history 3974/week @ 2024-01-15 3333/week @ 2024-01-22 3136/week @ 2024-01-29 3571/week @ 2024-02-05 2404/week @ 2024-02-12 3571/week @ 2024-02-19 4542/week @ 2024-02-26 3149/week @ 2024-03-04 3396/week @ 2024-03-11 5026/week @ 2024-03-18 4292/week @ 2024-03-25 4225/week @ 2024-04-01 3820/week @ 2024-04-08 4187/week @ 2024-04-15 4649/week @ 2024-04-22 4747/week @ 2024-04-29

17,708 downloads per month
Used in 22 crates (16 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