forked from Yuri6037/time-tz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (33 loc) · 1.12 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
[package]
name = "time-tz"
version = "1.0.2"
edition = "2021"
authors = ["Yuri Edward <yuri6037@outlook.com>"]
description = "Implementation of tz database (IANA) for the time Rust crate."
license = "BSD-3-Clause"
repository = "https://github.com/Yuri6037/time-tz"
readme = "./README.MD"
keywords = ["time", "tz"]
categories = ["date-and-time"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
phf = "0.10.1"
time = { version = "0.3.7", features = ["macros"] }
cfg-if = "1.0.0"
thiserror = { version = "1.0.30", optional = true }
nom = { version = "7.1.0", optional = true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.32.0", features = ["Win32_System_Time", "Win32_Foundation"], optional = true }
[build-dependencies]
parse-zoneinfo = { version = "0.3" }
phf_codegen = "0.10.0"
serde-xml-rs = "0.5.1"
serde = { version = "1.0.136", features = ["derive"] }
[features]
default = ["db"]
system = ["windows-sys", "thiserror", "db"]
posix-tz = ["nom", "thiserror", "db"]
db = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]