[[bench]]
harness = false
name = "parser_benchmark"
[[example]]
name = "deserialize_duration"
required-features = ["serde"]
[[example]]
name = "deserialize_duration_chrono"
required-features = ["chrono", "serde"]
[[example]]
name = "deserialize_duration_time"
required-features = ["time", "serde"]
[dependencies.chrono]
default-features = false
features = ["now"]
optional = true
version = "0.4.38"
[dependencies.rust_decimal]
default-features = false
version = "1.29.1"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.147"
[dependencies.thiserror]
version = "1.0.37"
[dependencies.time]
default-features = false
optional = true
version = "0.3.17"
[dependencies.winnow]
version = "0.6.8"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.serde_json]
version = "1.0.87"
[features]
default = ["chrono", "serde", "time"]
[package]
authors = ["baoyachi <liaoymxsdl@gmail.com>"]
categories = ["parsing", "date-and-time"]
description = "duration string parser"
edition = "2021"
exclude = ["duration-str.png", "./playground"]
keywords = ["duration", "time", "duration-string", "duration-parser", "time-parser"]
license = "Apache-2.0"
name = "duration-str"
readme = "README.md"
repository = "https://github.com/baoyachi/duration-str"
version = "0.11.2"
[package.metadata.docs.rs]
all-features = true