Debian Codegraph @

intl/icu_capi/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_capi"
16 version = "1.5.0"
17 authors = ["The ICU4X Project Developers"]
18 include = [
19 "bindings/**/*",
20 "!bindings/dart/**/*",
21 "src/**/*",
22 "tests/**/*",
23 "Cargo.toml",
24 "LICENSE",
25 "README.md",
26 ]
27 description = "C interface to ICU4X"
28 homepage = "https://icu4x.unicode.org"
29 readme = "README.md"
30 categories = ["internationalization"]
31 license = "Unicode-3.0"
32 repository = "https://github.com/unicode-org/icu4x"
33
34 [package.metadata.cargo-all-features]
35 denylist = [
36 "bench",
37 "cpp_default",
38 "wasm_default",
39 "provider_test",
40 ]
41 max_combination_size = 2
42
43 [package.metadata.docs.rs]
44 all-features = true
45
46 [dependencies.diplomat]
47 version = "0.8"
48
49 [dependencies.diplomat-runtime]
50 version = "0.8"
51
52 [dependencies.fixed_decimal]
53 version = "0.5.6"
54 features = ["ryu"]
55 optional = true
56 default-features = false
57
58 [dependencies.icu_calendar]
59 version = "~1.5.0"
60 optional = true
61 default-features = false
62
63 [dependencies.icu_casemap]
64 version = "~1.5.0"
65 optional = true
66 default-features = false
67
68 [dependencies.icu_collator]
69 version = "~1.5.0"
70 optional = true
71 default-features = false
72
73 [dependencies.icu_collections]
74 version = "~1.5.0"
75 optional = true
76 default-features = false
77
78 [dependencies.icu_datetime]
79 version = "~1.5.0"
80 optional = true
81 default-features = false
82
83 [dependencies.icu_decimal]
84 version = "~1.5.0"
85 optional = true
86 default-features = false
87
88 [dependencies.icu_experimental]
89 version = "~0.1.0"
90 optional = true
91 default-features = false
92
93 [dependencies.icu_list]
94 version = "~1.5.0"
95 optional = true
96 default-features = false
97
98 [dependencies.icu_locid]
99 version = "~1.5.0"
100 default-features = false
101
102 [dependencies.icu_locid_transform]
103 version = "~1.5.0"
104 optional = true
105 default-features = false
106
107 [dependencies.icu_normalizer]
108 version = "~1.5.0"
109 optional = true
110 default-features = false
111
112 [dependencies.icu_plurals]
113 version = "~1.5.0"
114 optional = true
115 default-features = false
116
117 [dependencies.icu_properties]
118 version = "~1.5.0"
119 features = ["bidi"]
120 optional = true
121 default-features = false
122
123 [dependencies.icu_provider]
124 version = "~1.5.0"
125 default-features = false
126
127 [dependencies.icu_provider_adapters]
128 version = "~1.5.0"
129 default-features = false
130
131 [dependencies.icu_provider_blob]
132 version = "~1.5.0"
133 optional = true
134 default-features = false
135
136 [dependencies.icu_segmenter]
137 version = "~1.5.0"
138 features = ["auto"]
139 optional = true
140 default-features = false
141
142 [dependencies.icu_timezone]
143 version = "~1.5.0"
144 optional = true
145 default-features = false
146
147 [dependencies.log]
148 version = "0.4.17"
149 optional = true
150 default-features = false
151
152 [dependencies.serde]
153 version = "1.0.110"
154 optional = true
155 default-features = false
156
157 [dependencies.tinystr]
158 version = "0.7.5"
159 default-features = false
160
161 [dependencies.unicode-bidi]
162 version = "0.3.11"
163 optional = true
164 default-features = false
165
166 [dependencies.writeable]
167 version = "0.5.5"
168 default-features = false
169
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_list?/serde",
181 "icu_locid_transform?/serde",
182 "icu_locid/serde",
183 "icu_normalizer?/serde",
184 "icu_plurals?/serde",
185 "icu_properties?/serde",
186 "icu_provider/serde",
187 "icu_provider_adapters/serde",
188 "icu_segmenter?/serde",
189 "icu_timezone?/serde",
190 "icu_experimental?/serde",
191 ]
192 compiled_data = [
193 "icu_calendar?/compiled_data",
194 "icu_properties?/compiled_data",
195 "icu_segmenter?/compiled_data",
196 ]
197 cpp_default = ["logging"]
198 default = [
199 "compiled_data",
200 "default_components",
201 "logging",
202 "simple_logger",
203 "std",
204 ]
205 default_components = [
206 "icu_calendar",
207 "icu_casemap",
208 "icu_collator",
209 "icu_datetime",
210 "icu_decimal",
211 "icu_list",
212 "icu_locid_transform",
213 "icu_normalizer",
214 "icu_plurals",
215 "icu_properties",
216 "icu_segmenter",
217 "icu_timezone",
218 ]
219 experimental_components = ["dep:icu_experimental"]
220 icu_calendar = ["dep:icu_calendar"]
221 icu_casemap = ["dep:icu_casemap"]
222 icu_collator = ["dep:icu_collator"]
223 icu_datetime = [
224 "dep:icu_datetime",
225 "dep:icu_calendar",
226 "dep:icu_timezone",
227 "dep:icu_decimal",
228 "dep:icu_plurals",
229 ]
230 icu_decimal = [
231 "dep:icu_decimal",
232 "dep:fixed_decimal",
233 ]
234 icu_list = ["dep:icu_list"]
235 icu_locid_transform = ["dep:icu_locid_transform"]
236 icu_normalizer = ["dep:icu_normalizer"]
237 icu_plurals = [
238 "dep:icu_plurals",
239 "dep:fixed_decimal",
240 ]
241 icu_properties = [
242 "dep:icu_properties",
243 "dep:icu_collections",
244 "dep:unicode-bidi",
245 ]
246 icu_segmenter = ["dep:icu_segmenter"]
247 icu_timezone = [
248 "dep:icu_timezone",
249 "dep:icu_calendar",
250 ]
251 libc_alloc = ["dep:libc_alloc"]
252 logging = [
253 "icu_provider/logging",
254 "dep:log",
255 "diplomat-runtime/log",
256 "std",
257 ]
258 looping_panic_handler = []
259 provider_fs = [
260 "dep:icu_provider_fs",
261 "buffer_provider",
262 "std",
263 ]
264 provider_test = ["compiled_data"]
265 simple_logger = [
266 "dep:simple_logger",
267 "logging",
268 ]
269 std = []
270 wasm_default = ["logging"]
271
272 [target."cfg(not(any(target_arch = \"wasm32\", target_os = \"none\")))".dependencies.icu_provider_fs]
273 version = "~1.5.0"
274 optional = true
275 default-features = false
276
277 [target."cfg(not(any(target_arch = \"wasm32\", target_os = \"none\")))".dependencies.libc_alloc]
278 version = "1.0.6"
279 features = ["global"]
280 optional = true
281 default-features = false
282
283 [target."cfg(not(target_arch = \"wasm32\"))".dependencies.simple_logger]
284 version = "4.0.0"
285 optional = true