Debian Codegraph @

debian/rust-vendor/icu_time/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 = "2024"
14 rust-version = "1.88"
15 name = "icu_time"
16 version = "2.3.0"
17 authors = ["The ICU4X Project Developers"]
18 build = false
19 include = [
20 "data/**/*",
21 "src/**/*",
22 "examples/**/*",
23 "benches/**/*",
24 "tests/**/*",
25 "Cargo.toml",
26 "LICENSE",
27 "README.md",
28 "build.rs",
29 ]
30 autolib = false
31 autobins = false
32 autoexamples = false
33 autotests = false
34 autobenches = false
35 description = "Processing of dates, times, and time zones with a focus on i18n and interop"
36 homepage = "https://icu4x.unicode.org"
37 readme = "README.md"
38 keywords = [
39 "unicode",
40 "formatting",
41 "date",
42 ]
43 categories = [
44 "internationalization",
45 "localization",
46 "no-std",
47 "embedded",
48 ]
49 license = "Unicode-3.0"
50 repository = "https://github.com/unicode-org/icu4x"
51 resolver = "2"
52
53 [package.metadata.docs.rs]
54 all-features = true
55
56 [package.metadata.cargo-all-features]
57 max_combination_size = 3
58
59 [package.metadata.cargo-semver-checks.lints]
60 workspace = true
61
62 [features]
63 alloc = [
64 "zerotrie/alloc",
65 "serde?/alloc",
66 "zerovec/alloc",
67 ]
68 compiled_data = [
69 "dep:icu_time_data",
70 "icu_calendar/compiled_data",
71 "icu_provider/baked",
72 ]
73 datagen = [
74 "serde",
75 "dep:databake",
76 "zerovec/databake",
77 "zerotrie/databake",
78 "icu_provider/export",
79 "icu_locale_core/databake",
80 "alloc",
81 ]
82 default = [
83 "compiled_data",
84 "ixdtf",
85 ]
86 ixdtf = [
87 "dep:ixdtf",
88 "icu_calendar/ixdtf",
89 ]
90 serde = [
91 "dep:serde",
92 "zerovec/serde",
93 "zerotrie/serde",
94 "icu_provider/serde",
95 "icu_locale_core/serde",
96 "alloc",
97 ]
98 unstable = []
99 unstable_chrono_0_4 = [
100 "dep:chrono",
101 "dep:chrono-tz",
102 "icu_calendar/unstable_chrono_0_4",
103 ]
104 unstable_jiff_0_2 = [
105 "dep:jiff",
106 "icu_calendar/unstable_jiff_0_2",
107 ]
108 unstable_time_0_3 = [
109 "dep:time",
110 "icu_calendar/unstable_time_0_3",
111 ]
112
113 [lib]
114 name = "icu_time"
115 path = "src/lib.rs"
116
117 [dependencies.calendrical_calculations]
118 version = "0.2.4"
119 default-features = false
120
121 [dependencies.chrono]
122 version = "0.4"
123 optional = true
124 default-features = false
125
126 [dependencies.chrono-tz]
127 version = "0.10"
128 optional = true
129 default-features = false
130
131 [dependencies.databake]
132 version = "0.2.0"
133 features = ["derive"]
134 optional = true
135 default-features = false
136
137 [dependencies.displaydoc]
138 version = "0.2.3"
139 default-features = false
140
141 [dependencies.icu_calendar]
142 version = "~2.3.0"
143 default-features = false
144
145 [dependencies.icu_locale_core]
146 version = "2.3.0"
147 features = ["zerovec"]
148 default-features = false
149
150 [dependencies.icu_provider]
151 version = "2.3.0"
152 default-features = false
153
154 [dependencies.icu_time_data]
155 version = "~2.3.0"
156 optional = true
157 default-features = false
158
159 [dependencies.ixdtf]
160 version = "0.6.5"
161 optional = true
162 default-features = false
163
164 [dependencies.jiff]
165 version = "0.2"
166 optional = true
167 default-features = false
168
169 [dependencies.serde]
170 version = "1.0.220"
171 features = ["derive"]
172 optional = true
173 default-features = false
174
175 [dependencies.time]
176 version = "0.3"
177 optional = true
178 default-features = false
179
180 [dependencies.zerotrie]
181 version = "0.2.5"
182 features = [
183 "yoke",
184 "zerofrom",
185 ]
186 default-features = false
187
188 [dependencies.zerovec]
189 version = "0.11.7"
190 features = [
191 "derive",
192 "yoke",
193 ]
194 default-features = false
195
196 [dev-dependencies.tinystr]
197 version = "0.8.4"
198 default-features = false
199
200 [dev-dependencies.writeable]
201 version = "0.6.4"
202 default-features = false
203
204 [lints.clippy]
205 alloc_instead_of_core = "warn"
206 bool_assert_comparison = "allow"
207 branches_sharing_code = "warn"
208 collection_is_never_read = "warn"
209 crosspointer_transmute = "warn"
210 dbg_macro = "warn"
211 debug_assert_with_mut_call = "warn"
212 doc_markdown = "warn"
213 exhaustive_enums = "deny"
214 exhaustive_structs = "deny"
215 fn_to_numeric_cast_any = "warn"
216 infinite_loop = "warn"
217 large_stack_arrays = "warn"
218 mismatching_type_param_order = "warn"
219 missing_fields_in_debug = "warn"
220 missing_transmute_annotations = "warn"
221 negative_feature_names = "warn"
222 or_fun_call = "warn"
223 same_functions_in_if_condition = "warn"
224 todo = "warn"
225 transmute_bytes_to_str = "warn"
226 transmute_int_to_bool = "warn"
227 transmute_int_to_non_zero = "warn"
228 transmute_ptr_to_ptr = "warn"
229 transmute_ptr_to_ref = "warn"
230 transmute_undefined_repr = "warn"
231 transmutes_expressible_as_ptr_casts = "warn"
232 trivially_copy_pass_by_ref = "deny"
233 unnecessary_wraps = "warn"
234 useless_transmute = "warn"
235 wildcard_dependencies = "warn"
236
237 [lints.rust]
238 missing_debug_implementations = "deny"
239 trivial_numeric_casts = "deny"
240 unused_lifetimes = "warn"
241 unused_macro_rules = "warn"
242 unused_qualifications = "warn"
243
244 [lints.rust.unexpected_cfgs]
245 level = "warn"
246 priority = 0
247 check-cfg = [
248 "cfg(icu4c_enable_renaming)",
249 "cfg(needs_alloc_error_handler)",
250 "cfg(icu4x_nightly_tests)",
251 "cfg(icu4x_run_size_tests)",
252 "cfg(icu4x_unstable_fast_trie_only)",
253 ]