widestring
A wide string Rust library for converting to and from wide strings, such as
those often used in Windows API or other FFI libaries. Both u16 and u32 string types are
provided, including support for UTF-16 and UTF-32, malformed encoding, C-style strings, etc.
Documentation
Optional Features
-
alloc- Enabled by default. Enable use of thealloccrate when not using thestdlibrary.This enables the
U16String,U32String,U16CString,U32CStringtypes and aliases. -
std- Enabled by default. Enable features that depend on the Ruststdlibrary, including everything in theallocfeature.
License
This library is distributed under the terms of either of:
- MIT License (http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
at your option.
This project is REUSE-compliant. Copyrights are retained by their contributors. Some files may include explicit copyright notices and/or license SPDX identifiers. For full authorship information, see the version control history.
Contributing
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.