[package]
authors = [ "Vinicius Gobbo Antunes de Oliveira <vgobbo@gmail.com>" ]
description = "Specify durations in an easier to easy format, like 1h20m."
edition = "2021"
homepage = "https://github.com/vgobbo/duration-flex?tab=readme-ov-file#duration-flex"
keywords = [ "chrono", "time" ]
license = "MIT OR Apache-2.0"
name = "duration-flex"
readme = "CRATE.md"
repository = "https://github.com/vgobbo/duration-flex?tab=readme-ov-file"
version = "0.1.1"
[dependencies]
chrono = { version = "0.4" }
clap = { version = "4.5", features = [ "string" ], optional = true }
once_cell = { version = "1.20" }
regex = { version = "1.11" }
serde = { version = "1.0", features = [ "derive" ], optional = true }
[dev-dependencies]
clap = { version = "4.5", features = [ "derive", "string" ] }
serde = { version = "1.0", features = [ "derive" ] }
serde_test = { version = "1.0" }
[features]
default = [ ]
full = [ "clap", "serde" ]