Debian Codegraph @

README.md

raw symbols SCIP
1 # virtio-bindings
2 Rust FFI bindings to virtio generated using [bindgen](https://crates.io/crates/bindgen).
3
4 ## Usage
5 Add this to your `Cargo.toml`:
6 ```toml
7 virtio-bindings = "0.2"
8 ```
9 You can then import the bindings where you need them. As an example, to grab the
10 bindings for virtio-blk, you can do:
11 ```rust
12 use virtio_bindings::bindings::virtio_blk::*;
13 ```
14
15 ## Development
16
17 To update the bindings, follow the steps in the [Contributing Document](CONTRIBUTING.md).