# 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 = "fancy-duration" version = "0.9.2" authors = ["Erik Hollensbe "] description = "Fancy text representations for durations" readme = "README.md" keywords = [ "time", "duration", "parse", "human", "serde", ] license = "MIT" repository = "https://github.com/erikh/fancy-duration" [[bench]] name = "basic" harness = false [dependencies.anyhow] version = "^1" [dependencies.chrono] version = "^0.4" features = ["serde"] optional = true [dependencies.lazy_static] version = "^1" [dependencies.regex] version = "^1" [dependencies.serde] version = "^1" features = ["derive"] optional = true [dependencies.serde_derive] version = "^1" optional = true [dependencies.time] version = "^0.3" features = ["serde"] optional = true [dev-dependencies.criterion] version = "^0.5" [dev-dependencies.serde_json] version = "^1" [features] chrono = ["dep:chrono"] default = [] serde = [ "dep:serde", "dep:serde_derive", ] time = ["dep:time"]