fundu-gnu 0.4.1

Fast and precise gnu relative time parser of rust strings 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-gnu"
version = "0.4.1"
authors = ["Joining7943 <joining@posteo.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast and precise gnu relative time parser of rust strings to a Duration"
homepage = "https://github.com/fundu-rs/fundu"
readme = "README.md"
keywords = [
    "fundu",
    "gnu",
    "parse",
    "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]
chrono = [
    "fundu-core/chrono",
    "dep:chrono",
]
default = []
serde = [
    "fundu-core/serde",
    "dep:serde",
]
time = [
    "fundu-core/time",
    "dep:time",
]
with-flamegraph = []
with-gungraun = []

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

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

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

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

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

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

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

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

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

[dependencies.time]
version = "0.3.1"
features = ["large-dates"]
optional = true
default-features = false

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

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

[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"
features = [
    "macros",
    "large-dates",
]
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",
]