1 unstable release

0.1.0 Jun 25, 2020

#1355 in Text processing

Download history 283/week @ 2023-02-03 162/week @ 2023-02-10 376/week @ 2023-02-17 196/week @ 2023-02-24 195/week @ 2023-03-03 131/week @ 2023-03-10 235/week @ 2023-03-17 310/week @ 2023-03-24 299/week @ 2023-03-31 277/week @ 2023-04-07 458/week @ 2023-04-14 438/week @ 2023-04-21 545/week @ 2023-04-28 632/week @ 2023-05-05 590/week @ 2023-05-12 376/week @ 2023-05-19

2,174 downloads per month
Used in 13 crates (2 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