41 lines
953 B
TOML
41 lines
953 B
TOML
[package]
|
|
|
|
name = "unicode-width"
|
|
version = "0.2.2"
|
|
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"
|
|
rust-version = "1.66"
|
|
|
|
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 }
|
|
|
|
[features]
|
|
cjk = []
|
|
default = ["cjk"]
|
|
rustc-dep-of-std = ['std', 'core']
|
|
|
|
# Legacy, now a no-op
|
|
no_std = []
|