1[package]
2
3name = "unicode-width"
4version = "0.1.14"
5authors = [
6 "kwantam <kwantam@gmail.com>",
7 "Manish Goregaokar <manishsmail@gmail.com>",
8]
9
10homepage = "https://github.com/unicode-rs/unicode-width"
11repository = "https://github.com/unicode-rs/unicode-width"
12license = "MIT OR Apache-2.0"
13categories = [
14 "command-line-interface",
15 "internationalization",
16 "no-std::no-alloc",
17 "text-processing",
18]
19keywords = ["text", "width", "unicode"]
20readme = "README.md"
21description = """
22Determine displayed width of `char` and `str` types
23according to Unicode Standard Annex #11 rules.
24"""
25edition = "2021"
26
27exclude = ["/.github/*"]
28
29[dependencies]
30std = { version = "1.0", package = "rustc-std-workspace-std", optional = true }
31core = { version = "1.0", package = "rustc-std-workspace-core", optional = true }
32compiler_builtins = { version = "0.1", optional = true }
33
34[features]
35cjk = []
36default = ["cjk"]
37rustc-dep-of-std = ['std', 'core', 'compiler_builtins']
38
39# Legacy, now a no-op
40no_std = []
41