| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.58" |
| 15 |
name = "widestring" |
| 16 |
version = "1.1.0" |
| 17 |
exclude = [ |
| 18 |
".git*", |
| 19 |
".editorconfig", |
| 20 |
] |
| 21 |
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." |
| 22 |
readme = "README.md" |
| 23 |
keywords = [ |
| 24 |
"wide", |
| 25 |
"string", |
| 26 |
"win32", |
| 27 |
"utf-16", |
| 28 |
"utf-32", |
| 29 |
] |
| 30 |
categories = [ |
| 31 |
"text-processing", |
| 32 |
"encoding", |
| 33 |
"development-tools::ffi", |
| 34 |
"no-std", |
| 35 |
] |
| 36 |
license = "MIT OR Apache-2.0" |
| 37 |
repository = "https://github.com/starkat99/widestring-rs" |
| 38 |
|
| 39 |
[package.metadata.docs.rs] |
| 40 |
rustc-args = [ |
| 41 |
"--cfg", |
| 42 |
"docsrs", |
| 43 |
] |
| 44 |
|
| 45 |
[[test]] |
| 46 |
name = "debugger_visualizer" |
| 47 |
path = "tests/debugger_visualizer.rs" |
| 48 |
test = false |
| 49 |
required-features = ["debugger_visualizer"] |
| 50 |
|
| 51 |
[dev-dependencies.debugger_test] |
| 52 |
version = "0.1" |
| 53 |
|
| 54 |
[dev-dependencies.debugger_test_parser] |
| 55 |
version = "0.1" |
| 56 |
|
| 57 |
[dev-dependencies.winapi] |
| 58 |
version = "0.3" |
| 59 |
features = ["winbase"] |
| 60 |
|
| 61 |
[features] |
| 62 |
alloc = [] |
| 63 |
debugger_visualizer = ["alloc"] |
| 64 |
default = ["std"] |
| 65 |
std = ["alloc"] |