1 | [package] |
2 | name = "tracing-core" |
3 | # When releasing to crates.io: |
4 | # - Remove path dependencies |
5 | # - Update html_root_url. |
6 | # - Update doc url |
7 | # - Cargo.toml |
8 | # - README.md |
9 | # - Update CHANGELOG.md. |
10 | # - Create "v0.1.x" git tag. |
11 | version = "0.1.32" |
12 | authors = ["Tokio Contributors <team@tokio.rs>" ] |
13 | license = "MIT" |
14 | readme = "README.md" |
15 | repository = "https://github.com/tokio-rs/tracing" |
16 | homepage = "https://tokio.rs" |
17 | description = "" " |
18 | Core primitives for application-level tracing. |
19 | " "" |
20 | categories = [ |
21 | "development-tools::debugging" , |
22 | "development-tools::profiling" , |
23 | "asynchronous" , |
24 | ] |
25 | keywords = ["logging" , "tracing" , "profiling" ] |
26 | edition = "2018" |
27 | rust-version = "1.56.0" |
28 | |
29 | [features] |
30 | default = ["std" , "valuable/std" ] |
31 | std = ["once_cell" ] |
32 | |
33 | [badges] |
34 | maintenance = { status = "actively-developed" } |
35 | |
36 | [dependencies] |
37 | once_cell = { version = "1.13.0" , optional = true } |
38 | |
39 | [target.'cfg(tracing_unstable)'.dependencies] |
40 | valuable = { version = "0.1.0" , optional = true, default-features = false } |
41 | |
42 | [package.metadata.docs.rs] |
43 | all-features = true |
44 | # enable unstable features in the documentation |
45 | rustdoc-args = ["--cfg" , "docsrs" , "--cfg" , "tracing_unstable" ] |
46 | # it's necessary to _also_ pass `--cfg tracing_unstable` to rustc, or else |
47 | # dependencies will not be enabled, and the docs build will fail. |
48 | rustc-args = ["--cfg" , "tracing_unstable" ] |
49 | |