[package]
edition = "2021"
rust-version = "1.81"
name = "tzcraft"
version = "0.1.0"
authors = ["blueokanna"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A schema-driven date & time library: one 128-bit nanosecond timeline, a const civil calendar, and codec-aware wire formats on nextjson / rustbinary."
documentation = "https://docs.rs/tzcraft"
readme = "README.md"
keywords = [
"date",
"time",
"datetime",
"timezone",
"calendar",
]
categories = ["date-and-time"]
license = "Apache-2.0"
repository = "https://github.com/blueokanna/Tzcraft"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
binary = [
"dep:rustbinary",
"serde",
]
default = [
"std",
"serde",
"binary",
]
serde = ["dep:nextjson"]
std = []
[lib]
name = "tzcraft"
path = "src/lib.rs"
[[test]]
name = "chrono_parity"
path = "tests/chrono_parity.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "readme"
path = "tests/readme.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[dependencies.nextjson]
version = "=0.1.3"
features = ["derive"]
optional = true
[dependencies.rustbinary]
version = "=0.1.5-alpha.1"
features = ["std"]
optional = true
[profile.dev]
opt-level = 1
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1