3 unstable releases
0.2.1 | Jul 4, 2023 |
---|---|
0.2.0 | Feb 21, 2023 |
0.1.0 | Oct 10, 2019 |
#37 in Hardware support
22,770 downloads per month
Used in 21 crates
(15 directly)
180KB
5.5K
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.