Debian Codegraph @

third_party/rust/icu_locid/Cargo.toml

raw
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.67"
15 name = "icu_locid"
16 version = "1.5.0"
17 authors = ["The ICU4X Project Developers"]
18 include = [
19 "data/**/*",
20 "src/**/*",
21 "examples/**/*",
22 "benches/**/*",
23 "tests/**/*",
24 "Cargo.toml",
25 "LICENSE",
26 "README.md",
27 ]
28 description = "API for managing Unicode Language and Locale Identifiers"
29 homepage = "https://icu4x.unicode.org"
30 readme = "README.md"
31 categories = ["internationalization"]
32 license = "Unicode-3.0"
33 repository = "https://github.com/unicode-org/icu4x"
34
35 [package.metadata.cargo-all-features]
36 denylist = ["bench"]
37
38 [package.metadata.docs.rs]
39 all-features = true
40
41 [lib]
42 bench = false
43
44 [[example]]
45 name = "filter_langids"
46 test = true
47
48 [[example]]
49 name = "syntatically_canonicalize_locales"
50 test = true
51
52 [[bench]]
53 name = "subtags"
54 harness = false
55 required-features = ["bench"]
56
57 [[bench]]
58 name = "langid"
59 harness = false
60
61 [[bench]]
62 name = "locale"
63 harness = false
64
65 [[bench]]
66 name = "iai_langid"
67 harness = false
68 required-features = ["bench"]
69
70 [dependencies.databake]
71 version = "0.1.8"
72 features = ["derive"]
73 optional = true
74 default-features = false
75
76 [dependencies.displaydoc]
77 version = "0.2.3"
78 default-features = false
79
80 [dependencies.litemap]
81 version = "0.7.3"
82 features = ["alloc"]
83 default-features = false
84
85 [dependencies.serde]
86 version = "1.0.110"
87 features = [
88 "alloc",
89 "derive",
90 ]
91 optional = true
92 default-features = false
93
94 [dependencies.tinystr]
95 version = "0.7.5"
96 features = ["alloc"]
97 default-features = false
98
99 [dependencies.writeable]
100 version = "0.5.5"
101 default-features = false
102
103 [dependencies.zerovec]
104 version = "0.10.2"
105 optional = true
106 default-features = false
107
108 [dev-dependencies.iai]
109 version = "0.1.1"
110
111 [dev-dependencies.postcard]
112 version = "1.0.1"
113 features = ["use-std"]
114 default-features = false
115
116 [dev-dependencies.serde]
117 version = "1.0.110"
118 features = ["derive"]
119 default-features = false
120
121 [dev-dependencies.serde_json]
122 version = "1.0.45"
123
124 [features]
125 bench = ["serde"]
126 databake = ["dep:databake"]
127 serde = [
128 "dep:serde",
129 "tinystr/serde",
130 ]
131 std = []
132 zerovec = ["dep:zerovec"]
133
134 [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion]
135 version = "0.5.0"