• 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"
14rust-version = "1.81"
15name = "icu_locale_core"
16version = "2.0.0-beta2"
17authors = ["The ICU4X Project Developers"]
18build = false
19include = [
20    "data/**/*",
21    "src/**/*",
22    "examples/**/*",
23    "benches/**/*",
24    "tests/**/*",
25    "Cargo.toml",
26    "LICENSE",
27    "README.md",
28]
29autolib = false
30autobins = false
31autoexamples = false
32autotests = false
33autobenches = false
34description = "API for managing Unicode Language and Locale Identifiers"
35homepage = "https://icu4x.unicode.org"
36readme = "README.md"
37categories = ["internationalization"]
38license = "Unicode-3.0"
39repository = "https://github.com/unicode-org/icu4x"
40
41[package.metadata.docs.rs]
42all-features = true
43
44[features]
45alloc = []
46databake = [
47    "dep:databake",
48    "alloc",
49]
50serde = [
51    "dep:serde",
52    "tinystr/serde",
53    "alloc",
54]
55zerovec = [
56    "dep:zerovec",
57    "tinystr/zerovec",
58]
59
60[lib]
61name = "icu_locale_core"
62path = "src/lib.rs"
63bench = false
64
65[[example]]
66name = "filter_langids"
67path = "examples/filter_langids.rs"
68test = true
69
70[[example]]
71name = "syntatically_canonicalize_locales"
72path = "examples/syntatically_canonicalize_locales.rs"
73test = true
74
75[[test]]
76name = "langid"
77path = "tests/langid.rs"
78
79[[test]]
80name = "locale"
81path = "tests/locale.rs"
82
83[[bench]]
84name = "iai_langid"
85path = "benches/iai_langid.rs"
86harness = false
87
88[[bench]]
89name = "langid"
90path = "benches/langid.rs"
91harness = false
92
93[[bench]]
94name = "locale"
95path = "benches/locale.rs"
96harness = false
97
98[[bench]]
99name = "subtags"
100path = "benches/subtags.rs"
101harness = false
102
103[dependencies.databake]
104version = "0.2.0"
105features = ["derive"]
106optional = true
107default-features = false
108
109[dependencies.displaydoc]
110version = "0.2.3"
111default-features = false
112
113[dependencies.litemap]
114version = "0.7.3"
115features = ["alloc"]
116default-features = false
117
118[dependencies.serde]
119version = "1.0.110"
120features = [
121    "alloc",
122    "derive",
123]
124optional = true
125default-features = false
126
127[dependencies.tinystr]
128version = "0.8.0"
129features = ["alloc"]
130default-features = false
131
132[dependencies.writeable]
133version = "0.6.0"
134default-features = false
135
136[dependencies.zerovec]
137version = "0.11.1"
138optional = true
139default-features = false
140
141[dev-dependencies.iai]
142version = "0.1.1"
143
144[dev-dependencies.postcard]
145version = "1.0.3"
146features = ["use-std"]
147default-features = false
148
149[dev-dependencies.potential_utf]
150version = "0.1.1"
151default-features = false
152
153[dev-dependencies.serde]
154version = "1.0.110"
155features = ["derive"]
156default-features = false
157
158[dev-dependencies.serde_json]
159version = "1.0.45"
160
161[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
162version = "0.5.0"
163