utc2k 0.5.0

A fast and lean UTC date/time library concerned only with happenings in this century (2000-2099).
Documentation
[package]
name = "utc2k"
version = "0.5.0"
authors = ["Blobfolio, LLC. <hello@blobfolio.com>"]
edition = "2021"
rust-version = "1.57"
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]
features = [ "docsrs", "local", "serde" ]
default-target = "x86_64-unknown-linux-gnu"

[package.metadata.bashman]
name = "UTC2K"
bash-dir = "./"
man-dir = "./"
credits-dir = "./"

[dev-dependencies]
brunch = "0.2.*, >=0.2.4"
fastrand = "1.7.*"
serde = "1.0.*"
serde_json = "1.0.*"

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

[target.'cfg(target_arch = "x86_64")'.dev-dependencies]
serde_yaml = "0.8.*, >=0.8.4"

[dependencies.once_cell]
version = "=1.12.0"
optional = true

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

[dependencies.tz-rs]
version = "=0.6.9"
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 = [ "once_cell", "tz-rs" ]

# The feature "serde" can be enabled to provide (de)/serialize support for
# Utc2k and FmtUtc2k. We can't write it here because the name matches the
# dependency, but it works!
# serde = []

# This is just a workaround for Docs.rs; don't enable this if you're a human!
docsrs = []


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

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

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