Debian Codegraph @

.cargo/vendor/chrono/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.61.0"
15 name = "chrono"
16 version = "0.4.38"
17 include = [
18 "src/*",
19 "tests/*.rs",
20 "LICENSE.txt",
21 "CITATION.cff",
22 ]
23 description = "Date and time library for Rust"
24 homepage = "https://github.com/chronotope/chrono"
25 documentation = "https://docs.rs/chrono/"
26 readme = "README.md"
27 keywords = [
28 "date",
29 "time",
30 "calendar",
31 ]
32 categories = ["date-and-time"]
33 license = "MIT OR Apache-2.0"
34 repository = "https://github.com/chronotope/chrono"
35
36 [package.metadata.docs.rs]
37 features = [
38 "arbitrary",
39 "rkyv",
40 "serde",
41 "unstable-locales",
42 ]
43 rustdoc-args = [
44 "--cfg",
45 "docsrs",
46 ]
47
48 [package.metadata.playground]
49 features = ["serde"]
50
51 [lib]
52 name = "chrono"
53
54 [dependencies.arbitrary]
55 version = "1.0.0"
56 features = ["derive"]
57 optional = true
58
59 [dependencies.num-traits]
60 version = "0.2"
61 default-features = false
62
63 [dependencies.pure-rust-locales]
64 version = "0.8"
65 optional = true
66
67 [dependencies.rkyv]
68 version = "0.7.43"
69 optional = true
70 default-features = false
71
72 [dependencies.serde]
73 version = "1.0.99"
74 optional = true
75 default-features = false
76
77 [dev-dependencies.bincode]
78 version = "1.3.0"
79
80 [dev-dependencies.serde_derive]
81 version = "1"
82 default-features = false
83
84 [dev-dependencies.serde_json]
85 version = "1"
86
87 [features]
88 __internal_bench = []
89 alloc = []
90 clock = [
91 "winapi",
92 "iana-time-zone",
93 "android-tzdata",
94 "now",
95 ]
96 default = [
97 "clock",
98 "std",
99 "oldtime",
100 "wasmbind",
101 ]
102 libc = []
103 now = ["std"]
104 oldtime = []
105 rkyv = [
106 "dep:rkyv",
107 "rkyv/size_32",
108 ]
109 rkyv-16 = [
110 "dep:rkyv",
111 "rkyv?/size_16",
112 ]
113 rkyv-32 = [
114 "dep:rkyv",
115 "rkyv?/size_32",
116 ]
117 rkyv-64 = [
118 "dep:rkyv",
119 "rkyv?/size_64",
120 ]
121 rkyv-validation = ["rkyv?/validation"]
122 std = ["alloc"]
123 unstable-locales = ["pure-rust-locales"]
124 wasmbind = [
125 "wasm-bindgen",
126 "js-sys",
127 ]
128 winapi = ["windows-targets"]
129
130 [target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
131 version = "0.3"
132 optional = true
133
134 [target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen]
135 version = "0.2"
136 optional = true
137
138 [target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test]
139 version = "0.3"
140
141 [target."cfg(target_os = \"android\")".dependencies.android-tzdata]
142 version = "0.1.1"
143 optional = true
144
145 [target."cfg(unix)".dependencies.iana-time-zone]
146 version = "0.1.45"
147 features = ["fallback"]
148 optional = true
149
150 [target."cfg(windows)".dependencies.windows-targets]
151 version = "0.52"
152 optional = true
153
154 [target."cfg(windows)".dev-dependencies.windows-bindgen]
155 version = "0.56"