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

#246 in Debugging

Download history 5388/week @ 2025-01-13 5580/week @ 2025-01-20 4361/week @ 2025-01-27 5007/week @ 2025-02-03 7205/week @ 2025-02-10 6475/week @ 2025-02-17 6906/week @ 2025-02-24 6705/week @ 2025-03-03 7585/week @ 2025-03-10 8432/week @ 2025-03-17 9188/week @ 2025-03-24 8247/week @ 2025-03-31 8927/week @ 2025-04-07 8023/week @ 2025-04-14 9542/week @ 2025-04-21 8860/week @ 2025-04-28

36,079 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