bbqsrc / widestring-rs

A wide string FFI Rust library for converting to and from wide Unicode strings.

Home Page:https://docs.rs/widestring/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

widestring

Crates.io docs.rs Build status Build Status

A wide string Rust FFI library for converting to and from wide strings, such as those often used in Windows API or other FFI libaries. Both UTF-16 and UTF-32 types are provided, including support for malformed encoding.

Documentation

Optional Features

  • alloc - Enabled by default. Enable use of the alloc crate when not using the std library.

    This enables the U16String, U32String, U16CString, U32CString types and alises.

  • std - Enabled by default. Enable features that depend on the Rust std library, including everything in the alloc feature.

License

This library is distributed under the terms of either of:

at your option.

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.

About

A wide string FFI Rust library for converting to and from wide Unicode strings.

https://docs.rs/widestring/

License:Apache License 2.0


Languages

Language:Rust 100.0%