ucs2: Add no_std variant

The ucs2 no_std variant will be used for the uefi no_std dependency.
Use cargo_embargo tool to generate the Android.bp file.

cargo_embargo generate cargo_embargo.json

Test: m libucs2_nostd
Change-Id: I5979d4675150ac71aad2f9121a5843903ac06d86
2 files changed
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.