[package]
edition = "2024"
rust-version = "1.93.1"
name = "axess-clock"
version = "0.3.2"
authors = ["Gnomes"]
build = false
exclude = [
"tests/",
"benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Injectable Clock trait for deterministic simulation testing (DST). Foundational
primitive used by axess and adjacent crates: production code depends on the
`Clock` trait, tests inject `MockClock` to make time-dependent behaviour
reproducible.
"""
homepage = "https://github.com/GnomesOfZurich/axess"
documentation = "https://docs.rs/axess-clock"
readme = "README.md"
keywords = [
"clock",
"time",
"simulation",
"deterministic",
"testing",
]
categories = [
"date-and-time",
"development-tools::testing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/GnomesOfZurich/axess"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
testing = []
[lib]
name = "axess_clock"
path = "src/lib.rs"
[dependencies.chrono]
version = "0.4.45"
features = ["serde"]