-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
35 lines (31 loc) · 893 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
[package]
name = "minstant"
version = "0.1.7"
authors = ["The TiKV Authors"]
edition = "2021"
license = "MIT"
description = "A drop-in replacement for `std::time::Instant` that measures time with high performance and high accuracy powered by TSC"
homepage = "https://github.com/tikv/minstant"
repository = "https://github.com/tikv/minstant"
documentation = "https://docs.rs/minstant"
readme = "README.md"
keywords = ["TSC", "clock", "rdtsc", "timing", "nanosecond"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
ctor = "0.1.20"
coarsetime = { version = "0.1", optional = true }
web-time = "1.0"
[features]
atomic = []
fallback-coarse = ["coarsetime"]
[dev-dependencies]
criterion = "0.3"
quanta = "0.9"
rand = "0.8"
wasm-bindgen-test = "0.3"
getrandom = { version = "0.2", features = ["js"] }
[[bench]]
name = "criterion"
harness = false