| 1 | # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 | # |
| 3 | # When uploading crates to the registry Cargo will automatically |
| 4 | # "normalize" Cargo.toml files for maximal compatibility |
| 5 | # with all versions of Cargo and also rewrite `path` dependencies |
| 6 | # to registry (e.g., crates.io) dependencies. |
| 7 | # |
| 8 | # If you are reading this file be aware that the original Cargo.toml |
| 9 | # will likely look very different (and much more reasonable). |
| 10 | # See Cargo.toml.orig for the original contents. |
| 11 | |
| 12 | [package] |
| 13 | edition = "2021" |
| 14 | rust-version = "1.66" |
| 15 | name = "unicode-width" |
| 16 | version = "0.2.2" |
| 17 | authors = [ |
| 18 | "kwantam <kwantam@gmail.com>", |
| 19 | "Manish Goregaokar <manishsmail@gmail.com>", |
| 20 | ] |
| 21 | build = false |
| 22 | exclude = ["/.github/*"] |
| 23 | autolib = false |
| 24 | autobins = false |
| 25 | autoexamples = false |
| 26 | autotests = false |
| 27 | autobenches = false |
| 28 | description = """ |
| 29 | Determine displayed width of `char` and `str` types |
| 30 | according to Unicode Standard Annex #11 rules. |
| 31 | """ |
| 32 | homepage = "https://github.com/unicode-rs/unicode-width" |
| 33 | readme = "README.md" |
| 34 | keywords = [ |
| 35 | "text", |
| 36 | "width", |
| 37 | "unicode", |
| 38 | ] |
| 39 | categories = [ |
| 40 | "command-line-interface", |
| 41 | "internationalization", |
| 42 | "no-std::no-alloc", |
| 43 | "text-processing", |
| 44 | ] |
| 45 | license = "MIT OR Apache-2.0" |
| 46 | repository = "https://github.com/unicode-rs/unicode-width" |
| 47 | |
| 48 | [features] |
| 49 | cjk = [] |
| 50 | default = ["cjk"] |
| 51 | no_std = [] |
| 52 | rustc-dep-of-std = [ |
| 53 | "std", |
| 54 | "core", |
| 55 | ] |
| 56 | |
| 57 | [lib] |
| 58 | name = "unicode_width" |
| 59 | path = "src/lib.rs" |
| 60 | |
| 61 | [[test]] |
| 62 | name = "tests" |
| 63 | path = "tests/tests.rs" |
| 64 | |
| 65 | [[bench]] |
| 66 | name = "benches" |
| 67 | path = "benches/benches.rs" |
| 68 | |
| 69 | [dependencies.core] |
| 70 | version = "1.0" |
| 71 | optional = true |
| 72 | package = "rustc-std-workspace-core" |
| 73 | |
| 74 | [dependencies.std] |
| 75 | version = "1.0" |
| 76 | optional = true |
| 77 | package = "rustc-std-workspace-std" |
| 78 |