utc2k 0.19.0

A fast and lean UTC date/time library concerned only with happenings in this century (2000-2099).
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "utc2k"
version = "0.19.0"
authors = ["Josh Stoik <josh@blobfolio.com>"]
build = false
exclude = [
    ".github",
    ".gitignore",
    ".righteous-sandbox.json",
    "CREDITS.md",
    "doc",
    "examples",
    "justfile",
]
autolib = false
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.docs.rs]
rustc-args = [
    "--cfg",
    "docsrs",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
features = [
    "local",
    "serde",
]
default-target = "x86_64-unknown-linux-gnu"

[package.metadata.bashman]
name = "UTC2K"

[features]
default = []
local = ["tz-rs"]
serde = ["dep:serde_core"]
sqlx = ["dep:sqlx"]

[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_core]
version = "1.0.*"
optional = true
default-features = false

[dependencies.sqlx]
version = "0.8.6"
optional = true
default-features = false

[dependencies.tz-rs]
version = "=0.7.1"
optional = true

[dev-dependencies.brunch]
version = "0.11.*"

[dev-dependencies.fastrand]
version = "2"

[dev-dependencies.serde_core]
version = "1.0.*"
default-features = false

[dev-dependencies.serde_json]
version = "1.0.*"

[dev-dependencies.time]
version = "0.3.*"
features = [
    "std",
    "formatting",
]
default-features = false