Platform Tools Release 34.0.5 (10900879)
OWNERS: master -> main

Change-Id: Iae9333dd0ed5d193cc3fff4ec5b758ed0ffdcfc6
1 file changed
tree: dcb4f03134f495bb4d5bd0e66a501d8de2c23f74
  1. src/
  2. .cargo_vcs_info.json
  3. Android.bp
  4. Cargo.toml
  5. Cargo.toml.orig
  6. CHANGELOG.md
  7. CONTRIBUTING.md
  8. LICENSE
  9. LICENSE-APACHE
  10. LICENSE-BSD-3-Clause
  11. METADATA
  12. MODULE_LICENSE_APACHE2
  13. MODULE_LICENSE_BSD
  14. OWNERS
  15. README.md
README.md

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.