Migrate 9 newly imported crates to monorepo

libusb1-sys
ptr_meta
ptr_meta_derive
rusb
ucs2
uefi
uefi-macros
uefi-raw
uguid

Bug: http://b/339424309
Test: treehugger
Change-Id: I2105dc47c237aee6334e8776e91542d6a0e285d1
2 files changed
tree: 0b902b23f3cf454f0be2110b00c28ae205b3598a
  1. src/
  2. tests/
  3. Android.bp
  4. Cargo.toml
  5. Cargo.toml.orig
  6. CHANGELOG.md
  7. LICENSE
  8. METADATA
  9. MODULE_LICENSE_MPL
  10. OWNERS
  11. README.md
README.md

ucs2-rs

UCS2 crate on crates.io UCS2 docs on docs.rs Licensed under MPL-2.0

UCS-2 handling for Rust.

Note that UCS-2 is the predecessor of UTF-16. It is a fixed-length encoding, and it is used for things like UEFI.

History

This crate arose out of the needs of the uefi-rs crate. The code was extracted and placed here for easier maintenance and easier reuse.

Most of the initial code has been contributed by FredrikAleksander.

License

Licensed under the Mozilla Public License 2.0. See the LICENSE file for the full text.