ucs2: Add no_std variant am: 5c85611486 am: 056b3efe72

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

Change-Id: I0926c9dbf7fb7d6018cbd75e3aa92e94f8595000
Signed-off-by: Automerger Merge Worker <[email protected]>
tree: 7588a0603c9f6962e9093fa8fdffcf898378a7c9
  1. src/
  2. tests/
  3. Android.bp
  4. Cargo.toml
  5. Cargo.toml.orig
  6. cargo_embargo.json
  7. CHANGELOG.md
  8. LICENSE
  9. METADATA
  10. MODULE_LICENSE_MPL
  11. OWNERS
  12. 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.