[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.chrono-tz]
version = "0.10"
[dependencies.parking_lot]
version = "0.12"
[dev-dependencies.serde_json]
version = "1.0"
[[example]]
name = "nano_time_meter_demo"
path = "examples/nano_time_meter_demo.rs"
[[example]]
name = "time_meter_demo"
path = "examples/time_meter_demo.rs"
[lib]
doctest = false
name = "prism3_clock"
path = "src/lib.rs"
[package]
authors = ["Hu Haixing <starfish.hu@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["date-and-time", "development-tools::testing"]
description = "Thread-safe clock abstractions for Rust: monotonic clocks, mock testing, high-precision time meters, and timezone support"
documentation = "https://docs.rs/prism3-clock"
edition = "2021"
exclude = ["coverage.sh", "COVERAGE.md", "COVERAGE.zh_CN.md", ".circleci/*", "ci-check.sh", ".llvm-cov.toml"]
homepage = "https://github.com/3-prism/prism3-rust-clock"
keywords = ["clock", "time", "monotonic", "mock", "testing"]
license = "Apache-2.0"
name = "prism3-clock"
readme = "README.md"
repository = "https://github.com/3-prism/prism3-rust-clock"
rust-version = "1.70"
version = "0.1.0"
[[test]]
name = "clock_tests"
path = "tests/clock_tests.rs"
[[test]]
name = "controllable_clock_tests"
path = "tests/controllable_clock_tests.rs"
[[test]]
name = "meter_tests"
path = "tests/meter_tests.rs"
[[test]]
name = "mock_tests"
path = "tests/mock_tests.rs"
[[test]]
name = "monotonic_tests"
path = "tests/monotonic_tests.rs"
[[test]]
name = "nano_clock_tests"
path = "tests/nano_clock_tests.rs"
[[test]]
name = "nano_monotonic_tests"
path = "tests/nano_monotonic_tests.rs"
[[test]]
name = "system_tests"
path = "tests/system_tests.rs"
[[test]]
name = "zoned_clock_tests"
path = "tests/zoned_clock_tests.rs"
[[test]]
name = "zoned_tests"
path = "tests/zoned_tests.rs"