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

#45 in Hardware support

Download history 5470/week @ 2024-08-24 5733/week @ 2024-08-31 21954/week @ 2024-09-07 26395/week @ 2024-09-14 26289/week @ 2024-09-21 10465/week @ 2024-09-28 9855/week @ 2024-10-05 6277/week @ 2024-10-12 6258/week @ 2024-10-19 5031/week @ 2024-10-26 7065/week @ 2024-11-02 7019/week @ 2024-11-09 4317/week @ 2024-11-16 4136/week @ 2024-11-23 6139/week @ 2024-11-30 4249/week @ 2024-12-07

19,729 downloads per month
Used in 27 crates (21 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