File: README.md

package info (click to toggle)
rust-virtio-bindings 0.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,124 kB
  • sloc: sh: 64; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# virtio-bindings
Rust FFI bindings to virtio generated using [bindgen](https://crates.io/crates/bindgen).

## Usage
Add this to your `Cargo.toml`:
```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:
```rust
use virtio_bindings::bindings::virtio_blk::*;
```

## Development

To update the bindings, follow the steps in the [Contributing Document](CONTRIBUTING.md).