[package]
edition = "2024"
rust-version = "1.85"
name = "clocksource"
version = "1.0.1"
authors = ["Brian Martin <brian@iop.systems>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for times and durations with fixed-size representations"
homepage = "https://github.com/iopsystems/clocksource"
readme = "README.md"
keywords = [
"time",
"duration",
"atomic",
"clock",
"timestamp",
]
categories = ["date-and-time"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/iopsystems/clocksource"
[lib]
name = "clocksource"
path = "src/lib.rs"
[[test]]
name = "realtime_coarse"
path = "tests/realtime_coarse.rs"
[[test]]
name = "realtime_precise"
path = "tests/realtime_precise.rs"
[dependencies.time]
version = "0.3.47"
[target.'cfg(not(target_os = "windows"))'.dependencies.libc]
version = "0.2.183"
[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
"ntdef",
"profileapi",
"sysinfoapi",
]