fundu 2.1.1

Configurable, precise and fast rust string parser to a Duration
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 = "2024"
rust-version = "1.85.0"
name = "fundu"
version = "2.1.1"
authors = ["Joining7943 <joining@posteo.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Configurable, precise and fast rust string parser to a Duration"
homepage = "https://github.com/fundu-rs/fundu"
readme = "README.md"
keywords = [
    "fundu",
    "parse",
    "string",
    "duration",
    "time",
]
categories = [
    "parsing",
    "date-and-time",
]
license = "MIT"
repository = "https://github.com/fundu-rs/fundu"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
base = []
chrono = ["fundu-core/chrono"]
custom = []
default = ["standard"]
serde = [
    "fundu-core/serde",
    "dep:serde",
]
standard = []
time = ["fundu-core/time"]
with-flamegraph = []
with-gungraun = []

[lib]
name = "fundu"
path = "src/lib.rs"
bench = false

[[example]]
name = "clap_builder"
path = "examples/clap_builder.rs"
test = false

[[example]]
name = "clap_derive"
path = "examples/clap_derive.rs"
test = false

[[example]]
name = "convert"
path = "examples/convert.rs"
test = false
required-features = [
    "chrono",
    "time",
]

[[example]]
name = "custom"
path = "examples/custom.rs"
test = false
required-features = ["custom"]

[[example]]
name = "gnu"
path = "examples/gnu.rs"
test = false
required-features = ["custom"]

[[example]]
name = "simple"
path = "examples/simple.rs"
test = false

[[example]]
name = "systemd"
path = "examples/systemd.rs"
test = false
required-features = ["custom"]

[[test]]
name = "parser_test"
path = "tests/parser_test.rs"

[[bench]]
name = "benchmarks_custom"
path = "benches/benchmarks_custom.rs"
harness = false
required-features = ["custom"]

[[bench]]
name = "benchmarks_standard"
path = "benches/benchmarks_standard.rs"
harness = false
required-features = ["standard"]

[[bench]]
name = "flamegraph_custom"
path = "benches/flamegraph_custom.rs"
bench = false
harness = false
required-features = [
    "custom",
    "with-flamegraph",
]

[[bench]]
name = "flamegraph_standard"
path = "benches/flamegraph_standard.rs"
bench = false
harness = false
required-features = [
    "standard",
    "with-flamegraph",
]

[[bench]]
name = "fundu_gungraun_custom"
path = "benches/fundu_gungraun_custom.rs"
harness = false
required-features = [
    "custom",
    "with-gungraun",
]

[[bench]]
name = "fundu_gungraun_parsing"
path = "benches/fundu_gungraun_parsing.rs"
harness = false
required-features = [
    "standard",
    "with-gungraun",
]

[dependencies.fundu-core]
version = "=0.4.1"

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

[dev-dependencies.chrono]
version = "0.4.39"
default-features = false

[dev-dependencies.clap]
version = ">=4.0.1"
features = [
    "cargo",
    "derive",
]

[dev-dependencies.criterion]
version = ">=0.7"

[dev-dependencies.rstest]
version = ">=0.18"

[dev-dependencies.rstest_reuse]
version = "0.7"

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

[dev-dependencies.time]
version = "0.3.1"
default-features = false

[target."cfg(unix)".dev-dependencies.gungraun]
version = "0.19"

[target."cfg(unix)".dev-dependencies.inferno]
version = "0.12"

[target."cfg(unix)".dev-dependencies.pprof]
version = "0.15"
features = [
    "flamegraph",
    "criterion",
]