blob: 0801bbc8c73457843b416cac0d746634441c7a63 [file] [log] [blame] [edit]
[package]
name = "unicode-width"
version = "0.2.2"
authors = [
"kwantam <[email protected]>",
"Manish Goregaokar <[email protected]>",
]
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"
include = [
"COPYRIGHT",
"LICENSE-MIT",
"LICENSE-APACHE",
"README.md",
"CARGO.toml",
"src/**/*.rs",
"benches/**/*.rs",
"tests/**/*.rs",
]
[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 = []