6 releases

new 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

#33 in Hardware support

Download history 4339/week @ 2024-07-04 5235/week @ 2024-07-11 5906/week @ 2024-07-18 4386/week @ 2024-07-25 4563/week @ 2024-08-01 4881/week @ 2024-08-08 4846/week @ 2024-08-15 5260/week @ 2024-08-22 5855/week @ 2024-08-29 14674/week @ 2024-09-05 28047/week @ 2024-09-12 27517/week @ 2024-09-19 13802/week @ 2024-09-26 9759/week @ 2024-10-03 7570/week @ 2024-10-10 6857/week @ 2024-10-17

41,553 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