mirror of
https://github.com/openharmony/third_party_rust_unicode-width.git
synced 2026-07-19 15:13:40 -04:00
c8c786d4fc
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
41 lines
1010 B
TOML
41 lines
1010 B
TOML
[package]
|
|
|
|
name = "unicode-width"
|
|
version = "0.1.14"
|
|
authors = [
|
|
"kwantam <kwantam@gmail.com>",
|
|
"Manish Goregaokar <manishsmail@gmail.com>",
|
|
]
|
|
|
|
homepage = "https://github.com/unicode-rs/unicode-width"
|
|
repository = "https://github.com/unicode-rs/unicode-width"
|
|
license = "MIT OR Apache-2.0"
|
|
categories = [
|
|
"command-line-interface",
|
|
"internationalization",
|
|
"no-std::no-alloc",
|
|
"text-processing",
|
|
]
|
|
keywords = ["text", "width", "unicode"]
|
|
readme = "README.md"
|
|
description = """
|
|
Determine displayed width of `char` and `str` types
|
|
according to Unicode Standard Annex #11 rules.
|
|
"""
|
|
edition = "2021"
|
|
|
|
exclude = ["/.github/*"]
|
|
|
|
[dependencies]
|
|
std = { version = "1.0", package = "rustc-std-workspace-std", optional = true }
|
|
core = { version = "1.0", package = "rustc-std-workspace-core", optional = true }
|
|
compiler_builtins = { version = "0.1", optional = true }
|
|
|
|
[features]
|
|
cjk = []
|
|
default = ["cjk"]
|
|
rustc-dep-of-std = ['std', 'core', 'compiler_builtins']
|
|
|
|
# Legacy, now a no-op
|
|
no_std = []
|