utc2k 0.6.1

A fast and lean UTC date/time library concerned only with happenings in this century (2000-2099).
Documentation
[package]
name = "utc2k"
version = "0.6.1"
authors = ["Blobfolio, LLC. <hello@blobfolio.com>"]
edition = "2021"
rust-version = "1.70"
description = "A fast and lean UTC date/time library concerned only with happenings in this century (2000-2099)."
license = "WTFPL"
repository = "https://github.com/Blobfolio/utc2k"
readme = "README.md"
keywords = [ "time", "date", "utc", "unixtime", "printing" ]
exclude = [
	".github",
	".gitignore",
	".righteous-sandbox.json",
	"CREDITS.md",
	"doc",
	"justfile",
]

[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"
bash-dir = "./"
man-dir = "./"
credits-dir = "./"

[dev-dependencies]
brunch = "0.5.*"
fastrand = "2"
serde = "1.0.*"
serde_json = "1.0.*"

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

[dependencies.serde]
version = "1.0.*"
optional = true

[dependencies.tz-rs]
version = "=0.6.14"
features = [ "const" ]
optional = true

[features]
default = []

# This enables the "LocalOffset" struct for tricking — with caveats — Utc2k
# and FmtUtc2k into holding a local datetime rather than a UTC one. This only
# works on unix, but won't break non-unix builds.
local = [ "tz-rs" ]

# This enables (de)/serialize support for Utc2k and FmtUtc2k.
serde = [ "dep:serde" ]

[[bench]]
name = "d_utc2k"
harness = false

[[bench]]
name = "d_fmtutc2k"
harness = false

[[bench]]
name = "d_local"
harness = false
required-features = [ "local" ]