# 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-str" version = "0.11.2" authors = ["baoyachi "] exclude = [ "duration-str.png", "./playground", ] description = "duration string parser" readme = "README.md" keywords = [ "duration", "time", "duration-string", "duration-parser", "time-parser", ] categories = [ "parsing", "date-and-time", ] license = "Apache-2.0" repository = "https://github.com/baoyachi/duration-str" [package.metadata.docs.rs] all-features = true [[example]] name = "deserialize_duration" required-features = ["serde"] [[example]] name = "deserialize_duration_chrono" required-features = [ "chrono", "serde", ] [[example]] name = "deserialize_duration_time" required-features = [ "time", "serde", ] [[bench]] name = "parser_benchmark" harness = false [dependencies.chrono] version = "0.4.38" features = ["now"] optional = true default-features = false [dependencies.rust_decimal] version = "1.29.1" default-features = false [dependencies.serde] version = "1.0.147" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.37" [dependencies.time] version = "0.3.17" optional = true default-features = false [dependencies.winnow] version = "0.6.8" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.serde_json] version = "1.0.87" [features] default = [ "chrono", "serde", "time", ]