Migrate 25 crates to monorepo

quickcheck
regex-automata
ryu
same-file
serde
serde_json
serde_spanned
serde_test
sharded-slab
shlex
siphasher
tinyvec
tinyvec_macros
tokio-io-timeout
toml
toml_datetime
toml_edit
uniffi
uniffi_checksum_derive
uniffi_meta
virtio-bindings
virtio-queue
virtio-vsock
vsock
vsprintf
zerocopy-derive

Bug: http://b/339424309
Test: treehugger
Change-Id: Ib36834f91371c6d9d6fde72e2bcdce49060b5cfc
2 files changed
tree: cdd97c711dfe67dd795baf45d6a5e11fa8e5aed4
  1. patches/
  2. src/
  3. .cargo_vcs_info.json
  4. Android.bp
  5. Cargo.toml
  6. Cargo.toml.orig
  7. CHANGELOG.md
  8. CONTRIBUTING.md
  9. LICENSE
  10. METADATA
  11. MODULE_LICENSE_APACHE2
  12. MODULE_LICENSE_BSD
  13. OWNERS
  14. 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.