• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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]
13edition = "2021"
14name = "unicode-width"
15version = "0.1.14"
16authors = [
17    "kwantam <kwantam@gmail.com>",
18    "Manish Goregaokar <manishsmail@gmail.com>",
19]
20build = false
21exclude = ["/.github/*"]
22autobins = false
23autoexamples = false
24autotests = false
25autobenches = false
26description = """
27Determine displayed width of `char` and `str` types
28according to Unicode Standard Annex #11 rules.
29"""
30homepage = "https://github.com/unicode-rs/unicode-width"
31readme = "README.md"
32keywords = [
33    "text",
34    "width",
35    "unicode",
36]
37categories = [
38    "command-line-interface",
39    "internationalization",
40    "no-std::no-alloc",
41    "text-processing",
42]
43license = "MIT OR Apache-2.0"
44repository = "https://github.com/unicode-rs/unicode-width"
45
46[lib]
47name = "unicode_width"
48path = "src/lib.rs"
49
50[[test]]
51name = "tests"
52path = "tests/tests.rs"
53
54[[bench]]
55name = "benches"
56path = "benches/benches.rs"
57
58[dependencies.compiler_builtins]
59version = "0.1"
60optional = true
61
62[dependencies.core]
63version = "1.0"
64optional = true
65package = "rustc-std-workspace-core"
66
67[dependencies.std]
68version = "1.0"
69optional = true
70package = "rustc-std-workspace-std"
71
72[features]
73cjk = []
74default = ["cjk"]
75no_std = []
76rustc-dep-of-std = [
77    "std",
78    "core",
79    "compiler_builtins",
80]
81