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

#133 in Embedded development

Download history 4074/week @ 2024-12-17 2741/week @ 2024-12-24 3938/week @ 2024-12-31 4811/week @ 2025-01-07 5398/week @ 2025-01-14 5858/week @ 2025-01-21 4035/week @ 2025-01-28 5488/week @ 2025-02-04 6868/week @ 2025-02-11 6866/week @ 2025-02-18 6628/week @ 2025-02-25 6861/week @ 2025-03-04 7689/week @ 2025-03-11 8977/week @ 2025-03-18 8842/week @ 2025-03-25 8376/week @ 2025-04-01

35,087 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