Bug 1869647 - Mark hasStorageAccess.sub.https.window.html as intermittent after wpt...
[gecko.git] / intl / icu_capi / Cargo.toml
blobfc782311bc225b292fcedbfa4ac0977033012863
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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.
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.
12 [package]
13 edition = "2021"
14 rust-version = "1.67"
15 name = "icu_capi"
16 version = "1.4.0"
17 authors = ["The ICU4X Project Developers"]
18 include = [
19     "js/**/*",
20     "c/**/*",
21     "cpp/**/*",
22     "src/**/*",
23     "tests/**/*",
24     "Cargo.toml",
25     "LICENSE",
26     "README.md",
28 description = "C interface to ICU4X"
29 homepage = "https://icu4x.unicode.org"
30 readme = "README.md"
31 categories = ["internationalization"]
32 license-file = "LICENSE"
33 repository = "https://github.com/unicode-org/icu4x"
35 [package.metadata.cargo-all-features]
36 denylist = [
37     "bench",
38     "cpp_default",
39     "wasm_default",
40     "provider_test",
42 max_combination_size = 2
44 [package.metadata.docs.rs]
45 all-features = true
47 [dependencies.diplomat]
48 version = "0.7"
50 [dependencies.diplomat-runtime]
51 version = "0.7"
53 [dependencies.fixed_decimal]
54 version = "0.5.5"
55 features = ["ryu"]
56 optional = true
57 default-features = false
59 [dependencies.icu_calendar]
60 version = "~1.4.0"
61 optional = true
62 default-features = false
64 [dependencies.icu_casemap]
65 version = "~1.4.0"
66 optional = true
67 default-features = false
69 [dependencies.icu_collator]
70 version = "~1.4.0"
71 optional = true
72 default-features = false
74 [dependencies.icu_collections]
75 version = "~1.4.0"
76 optional = true
77 default-features = false
79 [dependencies.icu_datetime]
80 version = "~1.4.0"
81 optional = true
82 default-features = false
84 [dependencies.icu_decimal]
85 version = "~1.4.0"
86 optional = true
87 default-features = false
89 [dependencies.icu_displaynames]
90 version = "0.11.2"
91 optional = true
92 default-features = false
94 [dependencies.icu_list]
95 version = "~1.4.0"
96 optional = true
97 default-features = false
99 [dependencies.icu_locid]
100 version = "~1.4.0"
101 default-features = false
103 [dependencies.icu_locid_transform]
104 version = "~1.4.0"
105 optional = true
106 default-features = false
108 [dependencies.icu_normalizer]
109 version = "~1.4.0"
110 optional = true
111 default-features = false
113 [dependencies.icu_plurals]
114 version = "~1.4.0"
115 optional = true
116 default-features = false
118 [dependencies.icu_properties]
119 version = "~1.4.0"
120 features = ["bidi"]
121 optional = true
122 default-features = false
124 [dependencies.icu_provider]
125 version = "~1.4.0"
126 default-features = false
128 [dependencies.icu_provider_adapters]
129 version = "~1.4.0"
130 default-features = false
132 [dependencies.icu_provider_blob]
133 version = "~1.4.0"
134 optional = true
135 default-features = false
137 [dependencies.icu_segmenter]
138 version = "~1.4.0"
139 features = ["auto"]
140 optional = true
141 default-features = false
143 [dependencies.icu_timezone]
144 version = "~1.4.0"
145 optional = true
146 default-features = false
148 [dependencies.log]
149 version = "0.4"
150 optional = true
152 [dependencies.serde]
153 version = "1.0"
154 optional = true
155 default-features = false
157 [dependencies.tinystr]
158 version = "0.7.4"
159 default-features = false
161 [dependencies.unicode-bidi]
162 version = "0.3.13"
163 optional = true
164 default-features = false
166 [dependencies.writeable]
167 version = "0.5.4"
168 default-features = false
170 [features]
171 any_provider = []
172 buffer_provider = [
173     "dep:icu_provider_blob",
174     "dep:serde",
175     "icu_calendar?/serde",
176     "icu_casemap?/serde",
177     "icu_collator?/serde",
178     "icu_datetime?/serde",
179     "icu_decimal?/serde",
180     "icu_displaynames?/serde",
181     "icu_list?/serde",
182     "icu_locid_transform?/serde",
183     "icu_locid/serde",
184     "icu_normalizer?/serde",
185     "icu_plurals?/serde",
186     "icu_properties?/serde",
187     "icu_provider/serde",
188     "icu_provider_adapters/serde",
189     "icu_segmenter?/serde",
190     "icu_timezone?/serde",
192 compiled_data = [
193     "icu_segmenter?/compiled_data",
195 cpp_default = ["logging"]
196 default = [
197     "compiled_data",
198     "default_components",
199     "logging",
200     "simple_logger",
202 default_components = [
203     "icu_calendar",
204     "icu_casemap",
205     "icu_collator",
206     "icu_datetime",
207     "icu_decimal",
208     "icu_list",
209     "icu_locid_transform",
210     "icu_normalizer",
211     "icu_plurals",
212     "icu_properties",
213     "icu_segmenter",
214     "icu_timezone",
216 icu_calendar = ["dep:icu_calendar"]
217 icu_casemap = ["dep:icu_casemap"]
218 icu_collator = ["dep:icu_collator"]
219 icu_datetime = [
220     "dep:icu_datetime",
221     "dep:icu_calendar",
222     "dep:icu_timezone",
223     "dep:icu_decimal",
224     "dep:icu_plurals",
226 icu_decimal = [
227     "dep:icu_decimal",
228     "dep:fixed_decimal",
230 icu_displaynames = ["dep:icu_displaynames"]
231 icu_list = ["dep:icu_list"]
232 icu_locid_transform = ["dep:icu_locid_transform"]
233 icu_normalizer = ["dep:icu_normalizer"]
234 icu_plurals = [
235     "dep:icu_plurals",
236     "dep:fixed_decimal",
238 icu_properties = [
239     "dep:icu_properties",
240     "dep:icu_collections",
241     "dep:unicode-bidi",
243 icu_segmenter = ["dep:icu_segmenter"]
244 icu_timezone = [
245     "dep:icu_timezone",
246     "dep:icu_calendar",
248 logging = [
249     "icu_provider/logging",
250     "dep:log",
251     "diplomat-runtime/log",
253 provider_fs = [
254     "dep:icu_provider_fs",
255     "buffer_provider",
257 provider_test = ["compiled_data"]
258 simple_logger = [
259     "dep:simple_logger",
260     "logging",
262 wasm_default = ["logging"]
264 [target."cfg(not(any(target_arch = \"wasm32\", target_os = \"none\")))".dependencies.icu_provider_fs]
265 version = "~1.4.0"
266 optional = true
267 default-features = false
269 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.simple_logger]
270 version = "4.1.0"
271 optional = true