-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
40 lines (34 loc) · 1.1 KB
/
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
39
40
[package]
name = "fastant"
version = "0.1.10"
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]
coarsetime = { version = "0.1", optional = true }
small_ctor = { version = "0.1.2" }
web-time = { version = "1.1.0" }
[features]
atomic = []
fallback-coarse = ["coarsetime"]
[dev-dependencies]
criterion = { version = "0.5", default-features = false, features = [
"plotters",
"cargo_bench_support",
] }
quanta = { version = "0.12.5" }
rand = { version = "0.9.0" }
wasm-bindgen-test = { version = "0.3.50" }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
getrandom = { version = "0.3", features = ["wasm_js"] }
[[bench]]
name = "criterion"
harness = false