-
-
Notifications
You must be signed in to change notification settings - Fork 281
/
Copy pathCargo.toml
53 lines (44 loc) · 1.68 KB
/
Cargo.toml
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
[package]
name = "time"
version = "0.2.22"
authors = ["Jacob Pratt <the.z.cuber@gmail.com>"]
edition = "2018"
repository = "https://github.com/time-rs/time"
keywords = ["date", "time", "calendar", "duration"]
categories = ["date-and-time"]
readme = "README.md"
license = "MIT OR Apache-2.0"
description = "Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std]."
build = "build.rs"
include = ["src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md", "build.rs"]
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustc-args = ["--cfg", "__time_02_docs"]
rustdoc-args = ["--cfg", "__time_02_docs"]
[features]
default = ["deprecated", "std"]
deprecated = []
panicking-api = []
std = ["libc", "winapi", "stdweb", "standback/std"]
[dependencies]
const_fn = "0.4.2"
rand = { version = "0.7", optional = true, default-features = false }
serde = { version = "1", optional = true, default-features = false, features = ["derive"] }
standback = { version = "0.2.5", default-features = false }
time-macros = { version = "0.1", path = "time-macros" }
[workspace]
members = ["time-macros", "time-macros-impl"]
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["minwinbase", "minwindef", "timezoneapi"], optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
stdweb = { version = "0.4", default-features = false, optional = true }
[build-dependencies]
version_check = "0.9"
[dev-dependencies]
rand = { version = "0.7", default-features = false }
serde_json = "1"
standback = "0.2"
time-macros = { path = "time-macros" }