| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| patches/ | 04-Jul-2025 | - | 242 | 241 | ||
| src/ | 04-Jul-2025 | - | 2,981 | 2,929 | ||
| .android-checksum.json | D | 04-Jul-2025 | 2 KiB | 1 | 1 | |
| .cargo-checksum.json | D | 04-Jul-2025 | 1.4 KiB | 1 | 1 | |
| Android.bp | D | 04-Jul-2025 | 826 | 34 | 29 | |
| CHANGELOG.md | D | 04-Jul-2025 | 1.4 KiB | 57 | 36 | |
| CONTRIBUTING.md | D | 04-Jul-2025 | 1.6 KiB | 60 | 50 | |
| Cargo.toml | D | 04-Jul-2025 | 994 | 37 | 32 | |
| LICENSE | D | 04-Jul-2025 | 12.6 KiB | 236 | 198 | |
| METADATA | D | 04-Jul-2025 | 419 | 18 | 17 | |
| MODULE_LICENSE_APACHE2 | D | 04-Jul-2025 | 0 | |||
| README.md | D | 04-Jul-2025 | 467 | 18 | 14 | |
| cargo2android_module.bp.fragment | D | 04-Jul-2025 | 81 | 9 | 8 | |
| cargo_embargo.json | D | 04-Jul-2025 | 231 | 11 | 11 |
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