duration-flex 0.5.0

Specify durations in an easier to easy format, like 1h20m.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "duration-flex"
version = "0.5.0"
authors = ["Vinicius Gobbo Antunes de Oliveira <vgobbo@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Specify durations in an easier to easy format, like 1h20m."
homepage = "https://github.com/vgobbo/duration-flex?tab=readme-ov-file#duration-flex"
readme = "CRATE.md"
keywords = [
    "chrono",
    "time",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vgobbo/duration-flex?tab=readme-ov-file"

[features]
default = []
full = [
    "clap",
    "serde",
    "validator",
]
validator = [
    "dep:validator",
    "serde",
]

[lib]
name = "duration_flex"
path = "src/lib.rs"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.6"
features = ["string"]
optional = true

[dependencies.once_cell]
version = "1.21"

[dependencies.regex]
version = "1.12"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.validator]
version = "0.20"
optional = true

[dev-dependencies.clap]
version = "4.6"
features = [
    "derive",
    "string",
]

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_test]
version = "1.0"

[dev-dependencies.validator]
version = "0.20"
features = ["derive"]