| 1 |
[package] |
| 2 |
name = "widestring" |
| 3 |
# Remember to keep in sync with html_root_url crate attribute |
| 4 |
version = "1.1.0" |
| 5 |
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." |
| 6 |
repository = "https://github.com/starkat99/widestring-rs" |
| 7 |
readme = "README.md" |
| 8 |
keywords = ["wide", "string", "win32", "utf-16", "utf-32"] |
| 9 |
categories = ["text-processing", "encoding", "development-tools::ffi", "no-std"] |
| 10 |
license = "MIT OR Apache-2.0" |
| 11 |
edition = "2021" |
| 12 |
rust-version = "1.58" |
| 13 |
exclude = [".git*", ".editorconfig"] |
| 14 |
|
| 15 |
[features] |
| 16 |
default = ["std"] |
| 17 |
std = ["alloc"] |
| 18 |
alloc = [] |
| 19 |
|
| 20 |
# Enable to use the #[debugger_visualizer] attribute. Requires Rust 1.71+ |
| 21 |
debugger_visualizer = ["alloc"] |
| 22 |
|
| 23 |
[dev-dependencies] |
| 24 |
debugger_test = "0.1" |
| 25 |
debugger_test_parser = "0.1" |
| 26 |
winapi = { version = "0.3", features = ["winbase"] } |
| 27 |
|
| 28 |
[package.metadata.docs.rs] |
| 29 |
rustc-args = ["--cfg", "docsrs"] |
| 30 |
|
| 31 |
[[test]] |
| 32 |
name = "debugger_visualizer" |
| 33 |
path = "tests/debugger_visualizer.rs" |
| 34 |
required-features = ["debugger_visualizer"] |
| 35 |
test = false |