r_efi_string/
lib.rs

1//! UEFI String Types and Converters
2//!
3//! This projects implements string types for the different string encodings used on UEFI systems.
4//! While the types are rather specific to UEFI, this project does **not** depend on any UEFI
5//! headers or protocols, but is a stand-alone implementation.
6//!
7//! See the different modules for the types provided:
8//!
9//!  * `[str16]`: UCS-2 based strings, which use a `u16` based encoding.
10
11// We do not depend on `libstd`, but pull it in for our unit tests.
12#![cfg_attr(not(test), no_std)]
13
14// We provide converters to/from `alloc::string::String`, so import `liballoc`.
15extern crate alloc;
16
17pub mod str16;