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

#75 in FFI

Download history 6109/week @ 2024-10-30 6948/week @ 2024-11-06 5823/week @ 2024-11-13 3667/week @ 2024-11-20 5949/week @ 2024-11-27 4789/week @ 2024-12-04 4432/week @ 2024-12-11 3931/week @ 2024-12-18 2597/week @ 2024-12-25 4518/week @ 2025-01-01 4985/week @ 2025-01-08 5267/week @ 2025-01-15 5641/week @ 2025-01-22 4026/week @ 2025-01-29 6205/week @ 2025-02-05 5543/week @ 2025-02-12

22,401 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