[[example]]
name = "deserialize_duration"
required-features = ["serde"]
[[example]]
name = "deserialize_duration_chrono"
required-features = ["chrono", "serde"]
[dependencies.anyhow]
version = "1.0.38"
[dependencies.chrono]
optional = true
version = "0.4.19"
[dependencies.nom]
version = "6.1.2"
[dependencies.rust_decimal]
default-features = false
version = "1.15"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.124"
[dev-dependencies.serde_json]
version = "1.0.64"
[features]
default = ["chrono", "serde"]
[package]
authors = ["baoyachi <liaoymxsdl@gmail.com>"]
categories = ["parsing", "date-and-time"]
description = "duration string parser"
edition = "2018"
keywords = ["duration", "time", "duration-string", "duration-parser", "time-parser"]
license = "MIT AND Apache-2.0"
name = "duration-str"
readme = "README.md"
repository = "https://github.com/baoyachi/duration-str"
version = "0.3.9"
[package.metadata.docs.rs]
all-features = true