| 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 |
name = "unicode-width" |
| 15 |
version = "0.2.0" |
| 16 |
authors = [ |
| 17 |
"kwantam <[email protected]>", |
| 18 |
"Manish Goregaokar <[email protected]>", |
| 19 |
] |
| 20 |
build = false |
| 21 |
exclude = ["/.github/*"] |
| 22 |
autobins = false |
| 23 |
autoexamples = false |
| 24 |
autotests = false |
| 25 |
autobenches = false |
| 26 |
description = """ |
| 27 |
Determine displayed width of `char` and `str` types |
| 28 |
according to Unicode Standard Annex #11 rules. |
| 29 |
""" |
| 30 |
homepage = "https://github.com/unicode-rs/unicode-width" |
| 31 |
readme = "README.md" |
| 32 |
keywords = [ |
| 33 |
"text", |
| 34 |
"width", |
| 35 |
"unicode", |
| 36 |
] |
| 37 |
categories = [ |
| 38 |
"command-line-interface", |
| 39 |
"internationalization", |
| 40 |
"no-std::no-alloc", |
| 41 |
"text-processing", |
| 42 |
] |
| 43 |
license = "MIT OR Apache-2.0" |
| 44 |
repository = "https://github.com/unicode-rs/unicode-width" |
| 45 |
|
| 46 |
[lib] |
| 47 |
name = "unicode_width" |
| 48 |
path = "src/lib.rs" |
| 49 |
|
| 50 |
[[test]] |
| 51 |
name = "tests" |
| 52 |
path = "tests/tests.rs" |
| 53 |
|
| 54 |
[[bench]] |
| 55 |
name = "benches" |
| 56 |
path = "benches/benches.rs" |
| 57 |
|
| 58 |
[dependencies.compiler_builtins] |
| 59 |
version = "0.1" |
| 60 |
optional = true |
| 61 |
|
| 62 |
[dependencies.core] |
| 63 |
version = "1.0" |
| 64 |
optional = true |
| 65 |
package = "rustc-std-workspace-core" |
| 66 |
|
| 67 |
[dependencies.std] |
| 68 |
version = "1.0" |
| 69 |
optional = true |
| 70 |
package = "rustc-std-workspace-std" |
| 71 |
|
| 72 |
[features] |
| 73 |
cjk = [] |
| 74 |
default = ["cjk"] |
| 75 |
no_std = [] |
| 76 |
rustc-dep-of-std = [ |
| 77 |
"std", |
| 78 |
"core", |
| 79 |
"compiler_builtins", |
| 80 |
] |