7 releases

0.2.5 Feb 10, 2025
0.2.4 Oct 21, 2024
0.2.3 Sep 10, 2024
0.2.2 Oct 26, 2023
0.1.0 Oct 10, 2019

#35 in Operating systems

Download history 6216/week @ 2024-12-01 4719/week @ 2024-12-08 4249/week @ 2024-12-15 2795/week @ 2024-12-22 3437/week @ 2024-12-29 4972/week @ 2025-01-05 5479/week @ 2025-01-12 5281/week @ 2025-01-19 4670/week @ 2025-01-26 4825/week @ 2025-02-02 7190/week @ 2025-02-09 6495/week @ 2025-02-16 6869/week @ 2025-02-23 6767/week @ 2025-03-02 7453/week @ 2025-03-09 7633/week @ 2025-03-16

29,261 downloads per month
Used in 28 crates (22 directly)

BSD-3-Clause OR Apache-2.0

29KB
137 lines

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

~0–2MB
~38K SLoC