| 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.67.0" |
| 15 |
name = "time" |
| 16 |
version = "0.3.29" |
| 17 |
authors = [ |
| 18 |
"Jacob Pratt <[email protected]>", |
| 19 |
"Time contributors", |
| 20 |
] |
| 21 |
include = [ |
| 22 |
"src/**/*", |
| 23 |
"LICENSE-*", |
| 24 |
"README.md", |
| 25 |
] |
| 26 |
description = "Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std]." |
| 27 |
homepage = "https://time-rs.github.io" |
| 28 |
readme = "README.md" |
| 29 |
keywords = [ |
| 30 |
"date", |
| 31 |
"time", |
| 32 |
"calendar", |
| 33 |
"duration", |
| 34 |
] |
| 35 |
categories = [ |
| 36 |
"date-and-time", |
| 37 |
"no-std", |
| 38 |
"parser-implementations", |
| 39 |
"value-formatting", |
| 40 |
] |
| 41 |
license = "MIT OR Apache-2.0" |
| 42 |
repository = "https://github.com/time-rs/time" |
| 43 |
|
| 44 |
[package.metadata.docs.rs] |
| 45 |
all-features = true |
| 46 |
rustdoc-args = [ |
| 47 |
"--cfg", |
| 48 |
"__time_03_docs", |
| 49 |
"--generate-link-to-definition", |
| 50 |
] |
| 51 |
targets = ["x86_64-unknown-linux-gnu"] |
| 52 |
|
| 53 |
[lib] |
| 54 |
bench = false |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "tests" |
| 58 |
path = "../tests/main.rs" |
| 59 |
|
| 60 |
[[bench]] |
| 61 |
name = "benchmarks" |
| 62 |
path = "../benchmarks/main.rs" |
| 63 |
harness = false |
| 64 |
|
| 65 |
[dependencies.deranged] |
| 66 |
version = "0.3.7" |
| 67 |
default-features = false |
| 68 |
|
| 69 |
[dependencies.itoa] |
| 70 |
version = "1.0.1" |
| 71 |
optional = true |
| 72 |
|
| 73 |
[dependencies.quickcheck] |
| 74 |
version = "1.0.3" |
| 75 |
optional = true |
| 76 |
default-features = false |
| 77 |
|
| 78 |
[dependencies.rand] |
| 79 |
version = "0.8.4" |
| 80 |
optional = true |
| 81 |
default-features = false |
| 82 |
|
| 83 |
[dependencies.serde] |
| 84 |
version = "1.0.184" |
| 85 |
optional = true |
| 86 |
default-features = false |
| 87 |
|
| 88 |
[dependencies.time-core] |
| 89 |
version = "=0.1.2" |
| 90 |
|
| 91 |
[dependencies.time-macros] |
| 92 |
version = "=0.2.15" |
| 93 |
optional = true |
| 94 |
|
| 95 |
[dev-dependencies.itertools] |
| 96 |
version = "0.11.0" |
| 97 |
|
| 98 |
[dev-dependencies.quickcheck_macros] |
| 99 |
version = "1.0.0" |
| 100 |
|
| 101 |
[dev-dependencies.rand] |
| 102 |
version = "0.8.4" |
| 103 |
default-features = false |
| 104 |
|
| 105 |
[dev-dependencies.rstest] |
| 106 |
version = "0.18.2" |
| 107 |
default-features = false |
| 108 |
|
| 109 |
[dev-dependencies.serde] |
| 110 |
version = "1.0.184" |
| 111 |
features = ["derive"] |
| 112 |
default-features = false |
| 113 |
|
| 114 |
[dev-dependencies.serde_json] |
| 115 |
version = "1.0.68" |
| 116 |
|
| 117 |
[dev-dependencies.serde_test] |
| 118 |
version = "1.0.126" |
| 119 |
|
| 120 |
[dev-dependencies.time-macros] |
| 121 |
version = "=0.2.15" |
| 122 |
|
| 123 |
[features] |
| 124 |
alloc = ["serde?/alloc"] |
| 125 |
default = ["std"] |
| 126 |
formatting = [ |
| 127 |
"dep:itoa", |
| 128 |
"std", |
| 129 |
"time-macros?/formatting", |
| 130 |
] |
| 131 |
large-dates = ["time-macros?/large-dates"] |
| 132 |
local-offset = [ |
| 133 |
"std", |
| 134 |
"dep:libc", |
| 135 |
"dep:num_threads", |
| 136 |
] |
| 137 |
macros = ["dep:time-macros"] |
| 138 |
parsing = ["time-macros?/parsing"] |
| 139 |
quickcheck = [ |
| 140 |
"dep:quickcheck", |
| 141 |
"alloc", |
| 142 |
"deranged/quickcheck", |
| 143 |
] |
| 144 |
rand = [ |
| 145 |
"dep:rand", |
| 146 |
"deranged/rand", |
| 147 |
] |
| 148 |
serde = [ |
| 149 |
"dep:serde", |
| 150 |
"time-macros?/serde", |
| 151 |
"deranged/serde", |
| 152 |
] |
| 153 |
serde-human-readable = [ |
| 154 |
"serde", |
| 155 |
"formatting", |
| 156 |
"parsing", |
| 157 |
] |
| 158 |
serde-well-known = [ |
| 159 |
"serde", |
| 160 |
"formatting", |
| 161 |
"parsing", |
| 162 |
] |
| 163 |
std = [ |
| 164 |
"alloc", |
| 165 |
"deranged/std", |
| 166 |
] |
| 167 |
wasm-bindgen = [] |
| 168 |
|
| 169 |
[target."cfg(target_family = \"unix\")".dependencies.libc] |
| 170 |
version = "0.2.98" |
| 171 |
optional = true |
| 172 |
|
| 173 |
[target."cfg(target_family = \"unix\")".dependencies.num_threads] |
| 174 |
version = "0.1.2" |
| 175 |
optional = true |