Create patch from LICENSE file am: 307e6aaa15

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/virtio-bindings/+/3211975

Change-Id: I419de1bd87f4f181b8e3b489fe559547a96de7e0
Signed-off-by: Automerger Merge Worker <[email protected]>
tree: 2a21516daeac3699a85b40e496d199e5b70e1635
  1. patches/
  2. src/
  3. .cargo_vcs_info.json
  4. Android.bp
  5. Cargo.toml
  6. Cargo.toml.orig
  7. cargo_embargo.json
  8. CHANGELOG.md
  9. CONTRIBUTING.md
  10. LICENSE
  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.