# 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.81" name = "utc2k" version = "0.11.0" authors = ["Blobfolio, LLC. "] build = false exclude = [ ".github", ".gitignore", ".righteous-sandbox.json", "CREDITS.md", "doc", "justfile", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A fast and lean UTC date/time library concerned only with happenings in this century (2000-2099)." readme = "README.md" keywords = [ "time", "date", "utc", "unixtime", "printing", ] license = "WTFPL" repository = "https://github.com/Blobfolio/utc2k" [package.metadata.bashman] bash-dir = "./" credits-dir = "./" man-dir = "./" name = "UTC2K" [package.metadata.docs.rs] default-target = "x86_64-unknown-linux-gnu" features = [ "local", "serde", ] rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "utc2k" path = "src/lib.rs" [[bench]] name = "d_fmtutc2k" path = "benches/d_fmtutc2k.rs" harness = false [[bench]] name = "d_local" path = "benches/d_local.rs" harness = false required-features = ["local"] [[bench]] name = "d_utc2k" path = "benches/d_utc2k.rs" harness = false [[bench]] name = "d_weekmonth" path = "benches/d_weekmonth.rs" harness = false [dependencies.serde] version = "1.0.*" optional = true [dependencies.tz-rs] version = "=0.7.0" optional = true [dev-dependencies.brunch] version = "0.6.*" [dev-dependencies.fastrand] version = "2" [dev-dependencies.serde] version = "1.0.*" [dev-dependencies.serde_json] version = "1.0.*" [dev-dependencies.time] version = "0.3.*" features = [ "std", "formatting", ] default-features = false [features] default = [] local = ["tz-rs"] serde = ["dep:serde"]