forked from GitoxideLabs/gitoxide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (29 loc) · 1.25 KB
/
Cargo.toml
File metadata and controls
38 lines (29 loc) · 1.25 KB
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
[package]
name = "gix-trace"
description = "A crate to provide minimal `tracing` support that can be turned off to zero cost"
repository = "https://github.com/Byron/gitoxide"
version = "0.1.9"
authors = ["Sebastian Thiel <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.65"
include = ["src/**/*", "LICENSE-*"]
[lib]
doctest = false
test = false
[features]
## Note that there is no default feature, as the application is supposed to opt-in via `gix-features` or using this crate directly.
default = []
## Implement `tracing` with `tracing-core`, which provides applications with valuable performance details if they opt-in to it.
##
## Note that this may have overhead as well, thus instrumentations should be used stategically, only providing coarse tracing by default and adding details
## only where needed while marking them with the appropriate level.
tracing = [ "dep:tracing-core" ]
## If enabled, detailed tracing is also emitted, which can greatly increase insights but at a cost.
tracing-detail = [ ]
[dependencies]
tracing-core = { version = "0.1.31", optional = true }
document-features = { version = "0.2.0", optional = true }
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]