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

#53 in Hardware support

Download history 3356/week @ 2023-12-15 2032/week @ 2023-12-22 2232/week @ 2023-12-29 3419/week @ 2024-01-05 3470/week @ 2024-01-12 3706/week @ 2024-01-19 2856/week @ 2024-01-26 3817/week @ 2024-02-02 2511/week @ 2024-02-09 3252/week @ 2024-02-16 4210/week @ 2024-02-23 3643/week @ 2024-03-01 3411/week @ 2024-03-08 4499/week @ 2024-03-15 4453/week @ 2024-03-22 3593/week @ 2024-03-29

16,529 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