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

#54 in Hardware support

Download history 27369/week @ 2024-09-09 26132/week @ 2024-09-16 22353/week @ 2024-09-23 9677/week @ 2024-09-30 9141/week @ 2024-10-07 6010/week @ 2024-10-14 6045/week @ 2024-10-21 5101/week @ 2024-10-28 7296/week @ 2024-11-04 6682/week @ 2024-11-11 3923/week @ 2024-11-18 4094/week @ 2024-11-25 6222/week @ 2024-12-02 4729/week @ 2024-12-09 4177/week @ 2024-12-16 2949/week @ 2024-12-23

18,374 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