# 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-gnu" version = "0.3.1" authors = ["Joining7943 "] build = 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", ] [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_iai_parsing" path = "benches/fundu_gnu_iai_parsing.rs" harness = false required-features = ["with-iai"] [dependencies.chrono] version = "0.4.24" optional = true default-features = false [dependencies.fundu-core] version = "=0.3.1" [dependencies.serde] version = "1" 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.24" default-features = false [dev-dependencies.clap] version = "4" features = ["cargo"] [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" features = [ "macros", "large-dates", ] default-features = false [features] chrono = [ "fundu-core/chrono", "dep:chrono", ] default = [] serde = [ "fundu-core/serde", "dep:serde", ] time = [ "fundu-core/time", "dep: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", ]