9 releases

0.2.7 Jan 20, 2026
0.2.6 Jun 26, 2025
0.2.5 Feb 10, 2025
0.2.4 Oct 21, 2024
0.1.0 Oct 10, 2019

#34 in Hardware support

Download history 13432/week @ 2025-10-16 14301/week @ 2025-10-23 11788/week @ 2025-10-30 11984/week @ 2025-11-06 11431/week @ 2025-11-13 13975/week @ 2025-11-20 10848/week @ 2025-11-27 12292/week @ 2025-12-04 10863/week @ 2025-12-11 7089/week @ 2025-12-18 5375/week @ 2025-12-25 7787/week @ 2026-01-01 10985/week @ 2026-01-08 11773/week @ 2026-01-15 14891/week @ 2026-01-22 13391/week @ 2026-01-29

52,961 downloads per month
Used in 35 crates (23 directly)

BSD-3-Clause OR Apache-2.0

2.5MB
50K 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