Debian Codegraph @

debian/rust-vendor/jiff/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.70"
15 name = "jiff"
16 version = "0.2.37"
17 authors = ["Andrew Gallant <[email protected]>"]
18 build = false
19 include = [
20 "/src/**/*.rs",
21 "/tests/lib.rs",
22 "/*.md",
23 "COPYING",
24 "LICENSE-MIT",
25 "UNLICENSE",
26 ]
27 autolib = false
28 autobins = false
29 autoexamples = false
30 autotests = false
31 autobenches = false
32 description = """
33 A date-time library that encourages you to jump into the pit of success.
34
35 This library is heavily inspired by the Temporal project.
36 """
37 documentation = "https://docs.rs/jiff"
38 readme = false
39 keywords = [
40 "date",
41 "time",
42 "calendar",
43 "zone",
44 "duration",
45 ]
46 categories = [
47 "date-and-time",
48 "no-std",
49 ]
50 license = "Unlicense OR MIT"
51 repository = "https://github.com/BurntSushi/jiff"
52
53 [package.metadata.docs.rs]
54 all-features = true
55 rustdoc-args = [
56 "--cfg",
57 "docsrs_jiff",
58 ]
59
60 [package.metadata.playground]
61 default-features = true
62 features = [
63 "logging",
64 "serde",
65 "static",
66 "tzdb-bundle-always",
67 ]
68
69 [features]
70 alloc = [
71 "jcore/alloc",
72 "serde_core?/alloc",
73 "portable-atomic-util/alloc",
74 "defmt?/alloc",
75 ]
76 arbitrary = [
77 "dep:arbitrary",
78 "jcore/arbitrary",
79 "std",
80 ]
81 default = [
82 "std",
83 "tz-system",
84 "tz-fat",
85 "tzdb-bundle-platform",
86 "tzdb-zoneinfo",
87 "tzdb-concatenated",
88 "perf-inline",
89 ]
90 defmt = [
91 "dep:defmt",
92 "jcore/defmt",
93 ]
94 js = [
95 "dep:wasm-bindgen",
96 "dep:js-sys",
97 ]
98 logging = [
99 "dep:log",
100 "jcore/logging",
101 ]
102 perf-inline = []
103 serde = ["dep:serde_core"]
104 static = [
105 "static-tz",
106 "jiff-static?/tzdb",
107 ]
108 static-tz = ["dep:jiff-static"]
109 std = [
110 "alloc",
111 "jcore/std",
112 "log?/std",
113 "serde_core?/std",
114 ]
115 tz-fat = [
116 "jcore/tz-fat",
117 "jiff-static?/tz-fat",
118 ]
119 tz-system = [
120 "std",
121 "dep:windows-link",
122 ]
123 tzdb-bundle-always = [
124 "dep:jiff-tzdb",
125 "alloc",
126 ]
127 tzdb-bundle-platform = [
128 "dep:jiff-tzdb-platform",
129 "alloc",
130 ]
131 tzdb-concatenated = ["std"]
132 tzdb-zoneinfo = ["std"]
133
134 [lib]
135 name = "jiff"
136 path = "src/lib.rs"
137
138 [[test]]
139 name = "integration"
140 path = "tests/lib.rs"
141
142 [dependencies.arbitrary]
143 version = "1.4.2"
144 features = ["derive"]
145 optional = true
146
147 [dependencies.defmt]
148 version = "1.0.0"
149 optional = true
150
151 [dependencies.jcore]
152 version = "0.1.0"
153 default-features = false
154 package = "jiff-core"
155
156 [dependencies.jiff-static]
157 version = "0.2"
158 optional = true
159
160 [dependencies.jiff-tzdb]
161 version = "0.1.8"
162 optional = true
163
164 [dependencies.log]
165 version = "0.4.21"
166 optional = true
167 default-features = false
168
169 [dependencies.serde_core]
170 version = "1.0.221"
171 optional = true
172 default-features = false
173
174 [dev-dependencies.anyhow]
175 version = "1.0.81"
176
177 [dev-dependencies.chrono]
178 version = "0.4.38"
179 features = ["serde"]
180
181 [dev-dependencies.chrono-tz]
182 version = "0.10.0"
183
184 [dev-dependencies.humantime]
185 version = "2.1.0"
186
187 [dev-dependencies.insta]
188 version = "1.39.0"
189
190 [dev-dependencies.log]
191 version = "0.4.21"
192
193 [dev-dependencies.postcard]
194 version = "1.1.3"
195 features = ["use-std"]
196 default-features = false
197
198 [dev-dependencies.quickcheck]
199 version = "1.0.3"
200 default-features = false
201
202 [dev-dependencies.serde]
203 version = "1.0.203"
204 features = ["derive"]
205
206 [dev-dependencies.serde_json]
207 version = "1.0.117"
208
209 [dev-dependencies.serde_yaml]
210 version = "0.9.34"
211
212 [dev-dependencies.tabwriter]
213 version = "1.4.0"
214
215 [dev-dependencies.tempfile]
216 version = "3.27.0"
217
218 [dev-dependencies.time]
219 version = "0.3.36"
220 features = [
221 "local-offset",
222 "macros",
223 "parsing",
224 ]
225
226 [dev-dependencies.time-tz]
227 version = "2.0.0"
228
229 [dev-dependencies.tzfile]
230 version = "0.1.3"
231
232 [dev-dependencies.walkdir]
233 version = "2.5.0"
234
235 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.js-sys]
236 version = "0.3.50"
237 optional = true
238
239 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.wasm-bindgen]
240 version = "0.2.70"
241 optional = true
242
243 [target."cfg(any())".dependencies.jiff-static]
244 version = "=0.2.37"
245
246 [target.'cfg(any(windows, target_family = "wasm"))'.dependencies.jiff-tzdb-platform]
247 version = "0.1.3"
248 optional = true
249
250 [target.'cfg(not(target_family = "wasm"))'.dev-dependencies.hifitime]
251 version = "4.3.0"
252
253 [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic]
254 version = "1.10.0"
255 default-features = false
256
257 [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic-util]
258 version = "0.2.4"
259 default-features = false
260
261 [target."cfg(windows)".dependencies.windows-link]
262 version = "0.2.1"
263 optional = true
264
265 [lints.rust.unexpected_cfgs]
266 level = "allow"
267 priority = 0
268 check-cfg = ["cfg(docsrs_jiff)"]