# 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 = "serde-duration-ext" version = "0.1.0" description = "Serde support for std::time::Duration and chrono::Duration (chrono feature)" readme = "README.md" license-file = "LICENSE" [lib] crate-type = ["rlib"] [dependencies.chrono] version = "0.4.31" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.regex] version = "1.10.2" [dependencies.serde] version = "1.0.189" [dev-dependencies.serde_json] version = "1.0.107" [features] chrono = ["dep:chrono"] default = []