-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (29 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
[package]
name = "tracing-perf"
version = "0.2.2"
authors = ["Amine Hassane <sporif@posteo.net>"]
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 }