-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
38 lines (33 loc) · 974 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "fastant"
version = "0.1.9"
edition = "2021"
license = "MIT"
description = "A drop-in replacement for `std::time::Instant` that measures time with high performance and high accuracy powered by Time Stamp Counter (TSC)."
homepage = "https://github.com/fast/fastant"
repository = "https://github.com/fast/fastant"
documentation = "https://docs.rs/fastant"
readme = "README.md"
keywords = ["TSC", "clock", "rdtsc", "timing", "nanosecond"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
ctor = "0.2"
coarsetime = { version = "0.1", optional = true }
web-time = "1.0"
[features]
atomic = []
fallback-coarse = ["coarsetime"]
[dev-dependencies]
criterion = { version = "0.5", default-features = false, features = [
"plotters",
"cargo_bench_support",
] }
quanta = "0.12"
rand = "0.8"
wasm-bindgen-test = "0.3"
getrandom = { version = "0.2", features = ["js"] }
[[bench]]
name = "criterion"
harness = false