Migrate 9 newly imported crates to monorepo am: 65fcce4f0b am: e127de41bc

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/ucs2/+/3390000

Change-Id: Iac11a9f77f5d0884a10b97acb36c697a2457312f
Signed-off-by: Automerger Merge Worker <[email protected]>
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.