widestring 0.5.0

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
[package]
name = "widestring"
# Remember to keep in sync with html_root_url crate attribute
version = "0.5.0"
description = "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."
repository = "https://github.com/starkat99/widestring-rs"
readme = "README.md"
keywords = ["wide", "string", "win32", "utf-16", "utf-32"]
categories = ["text-processing", "encoding", "development-tools::ffi", "no-std"]
license = "MIT OR Apache-2.0"
edition = "2018"
exclude = [".git*", ".editorconfig"]

[features]
default = ["std"]
std = ["alloc"]
alloc = []

[dev-dependencies]
winapi = { version = "0.3", features = ["winbase"] }