-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
75 lines (67 loc) · 1.83 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[workspace]
resolver = "2"
[workspace.package]
edition = "2021"
version = "0.0.4"
rust-version = "1.80"
authors = ["boa-dev"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/boa-dev/temporal"
readme = "./README.md"
exclude = [
"docs/*",
".github/*",
".gitignore",
"LICENSE*",
"CONTRIBUTING.md",
"cliff.toml",
]
[workspace.dependencies]
tinystr = "0.8.0"
icu_calendar = { version = "2.0.0-beta1", default-features = false}
rustc-hash = "2.1.0"
bitflags = "2.6.0"
num-traits = "0.2.19"
ixdtf = "0.3.0"
iana-time-zone = "0.1.61"
log = "0.4.0"
tzif = "0.3.0"
jiff-tzdb = "0.1.1"
combine = "4.6.7"
web-time = "1.1.0"
[package]
name = "temporal_rs"
keywords = ["date", "time", "calendar", "timezone", "duration"]
categories = ["date-and-time", "internationalization"]
description = "Temporal in Rust is an implementation of the TC39 Temporal Builtin Proposal in Rust."
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
readme.workspace = true
exclude.workspace = true
[dependencies]
tinystr.workspace = true
icu_calendar = { workspace = true, features = ["compiled_data"] }
rustc-hash = { workspace = true, features = ["std"] }
bitflags.workspace = true
num-traits.workspace = true
ixdtf = { workspace = true, features = ["duration"]}
iana-time-zone.workspace = true
# log feature
log = { workspace = true, optional = true }
# tzdb feature
tzif = { workspace = true, optional = true }
jiff-tzdb = { workspace = true, optional = true }
combine = { workspace = true, optional = true }
# System time feature
web-time = { workspace = true, optional = true }
[features]
default = ["now"]
log = ["dep:log"]
experimental = ["tzdb"]
now = ["std", "dep:web-time"]
tzdb = ["dep:tzif", "std", "dep:jiff-tzdb", "dep:combine"]
std = []