# 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 = "2021" name = "minstant" version = "0.1.7" authors = ["The TiKV Authors"] 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" documentation = "https://docs.rs/minstant" readme = "README.md" keywords = [ "TSC", "clock", "rdtsc", "timing", "nanosecond", ] license = "MIT" repository = "https://github.com/tikv/minstant" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "criterion" harness = false [dependencies.coarsetime] version = "0.1" optional = true [dependencies.ctor] version = "0.1.20" [dependencies.web-time] version = "1.0" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.getrandom] version = "0.2" features = ["js"] [dev-dependencies.quanta] version = "0.9" [dev-dependencies.rand] version = "0.8" [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] atomic = [] fallback-coarse = ["coarsetime"]