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