• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14rust-version = "1.63.0"
15name = "tracing-subscriber"
16version = "0.3.19"
17authors = [
18    "Eliza Weisman <eliza@buoyant.io>",
19    "David Barsky <me@davidbarsky.com>",
20    "Tokio Contributors <team@tokio.rs>",
21]
22build = false
23autolib = false
24autobins = false
25autoexamples = false
26autotests = false
27autobenches = false
28description = """
29Utilities for implementing and composing `tracing` subscribers.
30"""
31homepage = "https://tokio.rs"
32readme = "README.md"
33keywords = [
34    "logging",
35    "tracing",
36    "metrics",
37    "subscriber",
38]
39categories = [
40    "development-tools::debugging",
41    "development-tools::profiling",
42    "asynchronous",
43]
44license = "MIT"
45repository = "https://github.com/tokio-rs/tracing"
46resolver = "2"
47
48[package.metadata.docs.rs]
49all-features = true
50rustdoc-args = [
51    "--cfg",
52    "docsrs",
53]
54
55[lib]
56name = "tracing_subscriber"
57path = "src/lib.rs"
58
59[[test]]
60name = "cached_layer_filters_dont_break_other_layers"
61path = "tests/cached_layer_filters_dont_break_other_layers.rs"
62
63[[test]]
64name = "duplicate_spans"
65path = "tests/duplicate_spans.rs"
66
67[[test]]
68name = "env_filter"
69path = "tests/env_filter/main.rs"
70
71[[test]]
72name = "event_enabling"
73path = "tests/event_enabling.rs"
74
75[[test]]
76name = "field_filter"
77path = "tests/field_filter.rs"
78
79[[test]]
80name = "filter_log"
81path = "tests/filter_log.rs"
82
83[[test]]
84name = "fmt_max_level_hint"
85path = "tests/fmt_max_level_hint.rs"
86
87[[test]]
88name = "hinted_layer_filters_dont_break_other_layers"
89path = "tests/hinted_layer_filters_dont_break_other_layers.rs"
90
91[[test]]
92name = "layer_filter_interests_are_cached"
93path = "tests/layer_filter_interests_are_cached.rs"
94
95[[test]]
96name = "layer_filters"
97path = "tests/layer_filters/main.rs"
98
99[[test]]
100name = "multiple_layer_filter_interests_cached"
101path = "tests/multiple_layer_filter_interests_cached.rs"
102
103[[test]]
104name = "option"
105path = "tests/option.rs"
106
107[[test]]
108name = "option_filter_interest_caching"
109path = "tests/option_filter_interest_caching.rs"
110
111[[test]]
112name = "registry_max_level_hint"
113path = "tests/registry_max_level_hint.rs"
114
115[[test]]
116name = "registry_with_subscriber"
117path = "tests/registry_with_subscriber.rs"
118
119[[test]]
120name = "reload"
121path = "tests/reload.rs"
122
123[[test]]
124name = "reload_max_log_level"
125path = "tests/reload_max_log_level.rs"
126
127[[test]]
128name = "same_len_filters"
129path = "tests/same_len_filters.rs"
130
131[[test]]
132name = "unhinted_layer_filters_dont_break_other_layers"
133path = "tests/unhinted_layer_filters_dont_break_other_layers.rs"
134
135[[test]]
136name = "utils"
137path = "tests/utils.rs"
138
139[[test]]
140name = "vec"
141path = "tests/vec.rs"
142
143[[test]]
144name = "vec_subscriber_filter_interests_cached"
145path = "tests/vec_subscriber_filter_interests_cached.rs"
146
147[[bench]]
148name = "enter"
149path = "benches/enter.rs"
150harness = false
151
152[[bench]]
153name = "filter"
154path = "benches/filter.rs"
155harness = false
156
157[[bench]]
158name = "filter_log"
159path = "benches/filter_log.rs"
160harness = false
161
162[[bench]]
163name = "fmt"
164path = "benches/fmt.rs"
165harness = false
166
167[dependencies.chrono]
168version = "0.4.26"
169features = [
170    "clock",
171    "std",
172]
173optional = true
174default-features = false
175
176[dependencies.matchers]
177version = "0.1.0"
178optional = true
179
180[dependencies.nu-ansi-term]
181version = "0.46.0"
182optional = true
183
184[dependencies.once_cell]
185version = "1.13.0"
186optional = true
187
188[dependencies.parking_lot]
189version = "0.12.1"
190optional = true
191
192[dependencies.regex]
193version = "1.6.0"
194features = [
195    "std",
196    "unicode-case",
197    "unicode-perl",
198]
199optional = true
200default-features = false
201
202[dependencies.serde]
203version = "1.0.140"
204optional = true
205
206[dependencies.serde_json]
207version = "1.0.82"
208optional = true
209
210[dependencies.sharded-slab]
211version = "0.1.4"
212optional = true
213
214[dependencies.smallvec]
215version = "1.9.0"
216optional = true
217
218[dependencies.thread_local]
219version = "1.1.4"
220optional = true
221
222[dependencies.time]
223version = "0.3.2"
224features = ["formatting"]
225optional = true
226
227[dependencies.tracing]
228version = "0.1.41"
229optional = true
230default-features = false
231
232[dependencies.tracing-core]
233version = "0.1.30"
234default-features = false
235
236[dependencies.tracing-log]
237version = "0.2.0"
238features = [
239    "log-tracer",
240    "std",
241]
242optional = true
243default-features = false
244
245[dependencies.tracing-serde]
246version = "0.2.0"
247optional = true
248
249[dev-dependencies.criterion]
250version = "0.3.6"
251default-features = false
252
253[dev-dependencies.log]
254version = "0.4.17"
255
256[dev-dependencies.regex]
257version = "1"
258features = ["std"]
259default-features = false
260
261[dev-dependencies.time]
262version = "0.3.2"
263features = [
264    "formatting",
265    "macros",
266]
267
268[dev-dependencies.tokio]
269version = "1"
270features = [
271    "rt",
272    "macros",
273]
274
275[dev-dependencies.tracing]
276version = "0.1.41"
277
278[dev-dependencies.tracing-futures]
279version = "0.2.0"
280features = [
281    "std-future",
282    "std",
283]
284default-features = false
285
286[dev-dependencies.tracing-log]
287version = "0.2.0"
288
289[features]
290alloc = []
291ansi = [
292    "fmt",
293    "nu-ansi-term",
294]
295default = [
296    "smallvec",
297    "fmt",
298    "ansi",
299    "tracing-log",
300    "std",
301]
302env-filter = [
303    "matchers",
304    "regex",
305    "once_cell",
306    "tracing",
307    "std",
308    "thread_local",
309]
310fmt = [
311    "registry",
312    "std",
313]
314json = [
315    "tracing-serde",
316    "serde",
317    "serde_json",
318]
319local-time = ["time/local-offset"]
320nu-ansi-term = ["dep:nu-ansi-term"]
321registry = [
322    "sharded-slab",
323    "thread_local",
324    "std",
325]
326std = [
327    "alloc",
328    "tracing-core/std",
329]
330valuable = [
331    "tracing-core/valuable",
332    "valuable_crate",
333    "valuable-serde",
334    "tracing-serde/valuable",
335]
336
337[target."cfg(tracing_unstable)".dependencies.valuable-serde]
338version = "0.1.0"
339optional = true
340default-features = false
341
342[target."cfg(tracing_unstable)".dependencies.valuable_crate]
343version = "0.1.0"
344optional = true
345default-features = false
346package = "valuable"
347
348[badges.maintenance]
349status = "experimental"
350
351[lints.rust.unexpected_cfgs]
352level = "warn"
353priority = 0
354check-cfg = [
355    "cfg(flaky_tests)",
356    "cfg(tracing_unstable)",
357]
358