# 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.70" name = "datetime-rs" version = "1.3.1" authors = ["Luke Sneeringer "] build = false exclude = [ "/.github/*", "/rustfmt.toml", "/.prettierrc.yaml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Date and time" documentation = "https://docs.rs/datetime_rs" readme = "README.md" keywords = [ "date", "time", ] categories = ["date-and-time"] license = "MIT" repository = "https://github.com/lukesneeringer/datetime-rs" [lib] name = "datetime" path = "src/lib.rs" [dependencies.date-rs] version = "1" default-features = false [dependencies.diesel] version = "2" optional = true [dependencies.serde] version = "1" optional = true [dependencies.strptime] version = "1.1.3" [dependencies.tz-rs] version = "0.6" optional = true [dependencies.tzdb] version = "0.6" features = ["local"] optional = true [dev-dependencies.assert2] version = "0.3" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_test] version = "1" [features] default = ["serde"] diesel-pg = [ "date-rs/diesel-pg", "dep:diesel", "diesel/postgres", ] serde = [ "dep:serde", "date-rs/serde", ] tz = [ "dep:tz-rs", "dep:tzdb", "date-rs/tz", ] [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = ["cfg(tarpaulin_include)"]