返回 CodeWhale
Cargo.toml
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 keywords = [
34 "text",
35 "width",
36 "unicode",
37 ]
38 categories = [
39 "command-line-interface",
40 "internationalization",
41 "no-std::no-alloc",
42 "text-processing",
43 ]
44 license = "MIT OR Apache-2.0"
45 repository = "https://github.com/unicode-rs/unicode-width"
46
47 [features]
48 cjk = []
49 default = ["cjk"]
50 no_std = []
51 rustc-dep-of-std = [
52 "std",
53 "core",
54 ]
55
56 [lib]
57 name = "unicode_width"
58 path = "src/lib.rs"
59
60 [dependencies.core]
61 version = "1.0"
62 optional = true
63 package = "rustc-std-workspace-core"
64
65 [dependencies.std]
66 version = "1.0"
67 optional = true
68 package = "rustc-std-workspace-std"
69
69 lines TOML