Debian Codegraph @

debian/missing-sources/jiff/Cargo.toml

raw symbols SCIP
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.18"
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 = "README.md"
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 [features]
61 alloc = [
62 "serde_core?/alloc",
63 "portable-atomic-util/alloc",
64 ]
65 default = [
66 "std",
67 "tz-system",
68 "tz-fat",
69 "tzdb-bundle-platform",
70 "tzdb-zoneinfo",
71 "tzdb-concatenated",
72 "perf-inline",
73 ]
74 js = [
75 "dep:wasm-bindgen",
76 "dep:js-sys",
77 ]
78 logging = ["dep:log"]
79 perf-inline = []
80 serde = ["dep:serde_core"]
81 static = [
82 "static-tz",
83 "jiff-static?/tzdb",
84 ]
85 static-tz = ["dep:jiff-static"]
86 std = [
87 "alloc",
88 "log?/std",
89 "serde_core?/std",
90 ]
91 tz-fat = ["jiff-static?/tz-fat"]
92 tz-system = [
93 "std",
94 "dep:windows-sys",
95 ]
96 tzdb-bundle-always = [
97 "dep:jiff-tzdb",
98 "alloc",
99 ]
100 tzdb-bundle-platform = [
101 "dep:jiff-tzdb-platform",
102 "alloc",
103 ]
104 tzdb-concatenated = ["std"]
105 tzdb-zoneinfo = ["std"]
106
107 [lib]
108 name = "jiff"
109 path = "src/lib.rs"
110
111 [[test]]
112 name = "integration"
113 path = "tests/lib.rs"
114
115 [dependencies.jiff-static]
116 version = "0.2"
117 optional = true
118
119 [dependencies.jiff-tzdb]
120 version = "0.1.5"
121 optional = true
122
123 [dependencies.log]
124 version = "0.4.21"
125 optional = true
126 default-features = false
127
128 [dependencies.serde_core]
129 version = "1.0.221"
130 optional = true
131 default-features = false
132
133 [dev-dependencies.anyhow]
134 version = "1.0.81"
135
136 [dev-dependencies.chrono]
137 version = "0.4.38"
138 features = ["serde"]
139
140 [dev-dependencies.chrono-tz]
141 version = "0.10.0"
142
143 [dev-dependencies.humantime]
144 version = "2.1.0"
145
146 [dev-dependencies.insta]
147 version = "1.39.0"
148
149 [dev-dependencies.log]
150 version = "0.4.21"
151
152 [dev-dependencies.quickcheck]
153 version = "1.0.3"
154 default-features = false
155
156 [dev-dependencies.serde]
157 version = "1.0.203"
158 features = ["derive"]
159
160 [dev-dependencies.serde_json]
161 version = "1.0.117"
162
163 [dev-dependencies.serde_yaml]
164 version = "0.9.34"
165
166 [dev-dependencies.tabwriter]
167 version = "1.4.0"
168
169 [dev-dependencies.time]
170 version = "0.3.36"
171 features = [
172 "local-offset",
173 "macros",
174 "parsing",
175 ]
176
177 [dev-dependencies.tzfile]
178 version = "0.1.3"
179
180 [dev-dependencies.walkdir]
181 version = "2.5.0"
182
183 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.js-sys]
184 version = "0.3.50"
185 optional = true
186
187 [target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.wasm-bindgen]
188 version = "0.2.70"
189 optional = true
190
191 [target."cfg(any())".dependencies.jiff-static]
192 version = "=0.2.18"
193
194 [target.'cfg(any(windows, target_family = "wasm"))'.dependencies.jiff-tzdb-platform]
195 version = "0.1.3"
196 optional = true
197
198 [target.'cfg(not(target_family = "wasm"))'.dev-dependencies.hifitime]
199 version = "3.9.0"
200
201 [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic]
202 version = "1.10.0"
203 default-features = false
204
205 [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic-util]
206 version = "0.2.4"
207 default-features = false
208
209 [target."cfg(windows)".dependencies.windows-sys]
210 version = ">=0.52.0, <=0.61.*"
211 features = [
212 "Win32_Foundation",
213 "Win32_System_Time",
214 ]
215 optional = true
216 default-features = false
217
218 [lints.rust.unexpected_cfgs]
219 level = "allow"
220 priority = 0
221 check-cfg = ["cfg(docsrs_jiff)"]
222
223 [profile.testrelease]
224 debug-assertions = false
225 inherits = "test"