-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (48 loc) · 1.14 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
[package]
name = "timespan"
version = "0.2.1"
authors = ["Fin Christensen <[email protected]>"]
description = "A simple timespan for chrono times."
documentation = "https://docs.rs/timespan/"
homepage = "https://fin-ger.github.io/rust-timespan/"
repository = "https://github.com/fin-ger/rust-timespan/"
readme = "README.md"
keywords = ["timespan", "chrono"]
categories = ["date-and-time"]
license = "GPL-3.0"
edition = "2018"
[package.metadata.docs.rs]
all-features = true
[dependencies]
chrono = "0.4.9"
regex = "1.3.1"
serde = { version = "1.0.101", optional = true }
chrono-tz = { version = "0.5.1", optional = true }
[dev-dependencies]
serde_json = "1.0.40"
serde_derive = "1.0.101"
chrono-tz = "0.5.1"
[features]
default = []
with-serde = ["serde"]
with-chrono-tz = ["chrono-tz"]
[badges]
travis-ci = { repository = "fin-ger/rust-timespan/", branch = "master" }
[lib]
test = true
doctest = true
bench = false
doc = true
crate-type = ["lib"]
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
[profile.release]
opt-level = 3
debug = false
debug-assertions = false
[profile.test]
opt-level = 3
debug = true
debug-assertions = false