1 unstable release

0.1.0 Jun 25, 2020

#973 in Text processing

Download history 647/week @ 2024-01-18 617/week @ 2024-01-25 538/week @ 2024-02-01 868/week @ 2024-02-08 943/week @ 2024-02-15 983/week @ 2024-02-22 1251/week @ 2024-02-29 1478/week @ 2024-03-07 1152/week @ 2024-03-14 1157/week @ 2024-03-21 776/week @ 2024-03-28 1331/week @ 2024-04-04 1291/week @ 2024-04-11 1203/week @ 2024-04-18 881/week @ 2024-04-25 908/week @ 2024-05-02

4,531 downloads per month
Used in 19 crates (3 directly)

MIT/Apache

130KB
1K SLoC

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.

No runtime deps