[package] name = "tracing-perf" version = "0.2.2" authors = ["Amine Hassane "] description = "Performance and time reporting for tracing" keywords = ["tracing", "logging", "log", "term"] categories = ["development-tools::profiling"] license = "MIT OR Apache-2.0" edition = "2021" repository = "https://github.com/Sporif/tracing-perf" readme = "README.md" # docs.rs-specific configuration [package.metadata.docs.rs] all-features = true # defines the configuration attribute `docsrs` rustdoc-args = ["--cfg", "docsrs"] [features] default = ["start-print-order"] ## The start-print-order feature enables printing total times by start order. start-print-order = ["indexmap"] ## Enable to use [`minstant`](https://docs.rs/minstant/latest/minstant/) as a faster drop-in replacement for std::time::Instant. minstant = ["dep:minstant"] docsrs = ["document-features"] [dependencies] cfg-if = "1.0" document-features = { version = "0.2", optional = true } indexmap = { version = "1.8", optional = true } tracing = { version = "0.1", default-features = false } minstant = { version = "0.1", optional = true }