Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
patches/ | 25-Apr-2025 | - | 242 | 241 | ||
src/ | 25-Apr-2025 | - | 5,785 | 5,736 | ||
.cargo-checksum.json | D | 25-Apr-2025 | 1.3 KiB | 1 | 1 | |
Android.bp | D | 25-Apr-2025 | 664 | 24 | 20 | |
CHANGELOG.md | D | 25-Apr-2025 | 1.2 KiB | 43 | 28 | |
CONTRIBUTING.md | D | 25-Apr-2025 | 1.6 KiB | 59 | 49 | |
Cargo.toml | D | 25-Apr-2025 | 867 | 29 | 25 | |
LICENSE | D | 25-Apr-2025 | 12.6 KiB | 236 | 198 | |
METADATA | D | 25-Apr-2025 | 419 | 18 | 17 | |
MODULE_LICENSE_APACHE2 | D | 25-Apr-2025 | 0 | |||
MODULE_LICENSE_BSD | D | 25-Apr-2025 | 0 | |||
README.md | D | 25-Apr-2025 | 467 | 18 | 14 | |
cargo_embargo.json | D | 25-Apr-2025 | 108 | 9 | 8 |
README.md
1# virtio-bindings 2Rust FFI bindings to virtio generated using [bindgen](https://crates.io/crates/bindgen). 3 4## Usage 5Add this to your `Cargo.toml`: 6```toml 7virtio-bindings = "0.2" 8``` 9You can then import the bindings where you need them. As an example, to grab the 10bindings for virtio-blk, you can do: 11```rust 12use virtio_bindings::bindings::virtio_blk::*; 13``` 14 15## Development 16 17To update the bindings, follow the steps in the [Contributing Document](CONTRIBUTING.md). 18