commit | 5c85611486379691f6597afa2e54d061482a0551 | [log] [tgz] |
---|---|---|
author | Nikolina Ilic <[email protected]> | Sun Nov 17 22:58:00 2024 +0000 |
committer | Nikolina Ilic <[email protected]> | Mon Nov 18 16:50:07 2024 +0000 |
tree | 7588a0603c9f6962e9093fa8fdffcf898378a7c9 | |
parent | c5af6baf43f82a1756f6cefd36d9914eaeda9749 [diff] |
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
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.
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.
Licensed under the Mozilla Public License 2.0. See the LICENSE file for the full text.