clocksource 1.0.1

Library for times and durations with fixed-size representations
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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",
]