# 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" rust-version = "1.66.0" name = "fundu" version = "2.0.1" authors = ["Joining7943 "] build = 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", ] [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_iai_custom" path = "benches/fundu_iai_custom.rs" harness = false required-features = [ "custom", "with-iai", ] [[bench]] name = "fundu_iai_parsing" path = "benches/fundu_iai_parsing.rs" harness = false required-features = [ "standard", "with-iai", ] [dependencies.fundu-core] version = "=0.3.1" [dependencies.serde] version = "1" features = [ "derive", "derive", ] optional = true [dev-dependencies.chrono] version = "0.4.24" default-features = false [dev-dependencies.clap] version = "4" features = [ "cargo", "derive", ] [dev-dependencies.criterion] version = "0.5" [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 [features] base = [] chrono = ["fundu-core/chrono"] custom = [] default = ["standard"] serde = [ "fundu-core/serde", "dep:serde", ] standard = [] time = ["fundu-core/time"] with-flamegraph = [] with-iai = [] [target."cfg(unix)".dev-dependencies.iai-callgrind] version = "0.13" [target."cfg(unix)".dev-dependencies.inferno] version = "0.11" [target."cfg(unix)".dev-dependencies.pprof] version = "0.13" features = [ "flamegraph", "criterion", ]