-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
36 lines (30 loc) · 967 Bytes
/
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
[package]
name = "fancy-duration"
version = "0.9.2"
edition = "2021"
license = "MIT"
authors = ["Erik Hollensbe <[email protected]>"]
readme = "README.md"
keywords = ["time", "duration", "parse", "human", "serde"]
description = "Fancy text representations for durations"
repository = "https://github.com/erikh/fancy-duration"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "^1"
regex = "^1"
lazy_static = "^1"
time = { version = "^0.3", features = [ "serde" ], optional = true }
serde = { version = "^1", features = [ "derive" ], optional = true }
serde_derive = { version = "^1", optional = true }
chrono = { version = "^0.4", features = [ "serde" ], optional = true }
[features]
default = [ ]
time = [ "dep:time" ]
chrono = [ "dep:chrono" ]
serde = [ "dep:serde", "dep:serde_derive" ]
[dev-dependencies]
criterion = "^0.5"
serde_json = "^1"
[[bench]]
name = "basic"
harness = false