summaryrefslogtreecommitdiffstats
path: root/vendor/chrono/Cargo.toml
blob: eaf0e6945662125aeac22f00f7fd436e66efe80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "chrono"
version = "0.4.24"
exclude = ["/ci/*"]
description = "Date and time library for Rust"
homepage = "https://github.com/chronotope/chrono"
documentation = "https://docs.rs/chrono/"
readme = "README.md"
keywords = [
    "date",
    "time",
    "calendar",
]
categories = ["date-and-time"]
license = "MIT/Apache-2.0"
repository = "https://github.com/chronotope/chrono"

[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.playground]
features = ["serde"]

[lib]
name = "chrono"

[[bench]]
name = "chrono"
harness = false
required-features = ["__internal_bench"]

[[bench]]
name = "serde"
harness = false
required-features = [
    "__internal_bench",
    "serde",
]

[dependencies.arbitrary]
version = "1.0.0"
features = ["derive"]
optional = true

[dependencies.criterion]
version = "0.4.0"
optional = true

[dependencies.num-integer]
version = "0.1.36"
default-features = false

[dependencies.num-traits]
version = "0.2"
default-features = false

[dependencies.pure-rust-locales]
version = "0.5.2"
optional = true

[dependencies.rkyv]
version = "0.7"
optional = true

[dependencies.rustc-serialize]
version = "0.3.20"
optional = true

[dependencies.serde]
version = "1.0.99"
optional = true
default-features = false

[dependencies.time]
version = "0.1.43"
optional = true

[dev-dependencies.bincode]
version = "1.3.0"

[dev-dependencies.doc-comment]
version = "0.3"

[dev-dependencies.num-iter]
version = "0.1.35"
default-features = false

[dev-dependencies.serde_derive]
version = "1"
default-features = false

[dev-dependencies.serde_json]
version = "1"

[features]
__doctest = []
__internal_bench = ["criterion"]
alloc = []
clock = [
    "std",
    "winapi",
    "iana-time-zone",
]
default = [
    "clock",
    "std",
    "oldtime",
    "wasmbind",
]
libc = []
oldtime = ["time"]
std = []
unstable-locales = [
    "pure-rust-locales",
    "alloc",
]
wasmbind = [
    "wasm-bindgen",
    "js-sys",
]

[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.js-sys]
version = "0.3"
optional = true

[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dependencies.wasm-bindgen]
version = "0.2"
optional = true

[target."cfg(all(target_arch = \"wasm32\", not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.wasm-bindgen-test]
version = "0.3"

[target."cfg(unix)".dependencies.iana-time-zone]
version = "0.1.45"
features = ["fallback"]
optional = true

[target."cfg(windows)".dependencies.winapi]
version = "0.3.0"
features = [
    "std",
    "minwinbase",
    "minwindef",
    "timezoneapi",
]
optional = true