[package]
edition = "2024"
name = "fast-clock"
version = "0.3.0"
authors = ["m-mueller678"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-overhead timing without hiding the details from you"
readme = "readme.md"
keywords = [
"timing",
"clock",
"tsc",
"nanosecond-timing",
]
categories = [
"development-tools::profiling",
"hardware-support",
"no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/m-mueller678/fast-clock"
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
]
[features]
aarch64-generic-timer = []
default = [
"fast-clock",
"std",
]
fast-clock = [
"x86_64-tsc",
"aarch64-generic-timer",
]
fast-clock-aarch64-56bit = ["fast-clock"]
std = []
x86_64-tsc = []
[lib]
name = "fast_clock"
path = "src/lib.rs"
[dependencies]