tracing_mock/
lib.rs

1#![doc = include_str!("../README.md")]
2#![cfg_attr(
3    docsrs,
4    // Allows displaying cfgs/feature flags in the documentation.
5    feature(doc_cfg),
6    // Fail the docs build if any intra-docs links are broken
7    deny(rustdoc::broken_intra_doc_links),
8)]
9#![doc(
10    html_logo_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/logo-type.png",
11    html_favicon_url = "https://raw.githubusercontent.com/tokio-rs/tracing/main/assets/favicon.ico",
12    issue_tracker_base_url = "https://github.com/tokio-rs/tracing/issues/"
13)]
14#![warn(
15    missing_debug_implementations,
16    missing_docs,
17    rust_2018_idioms,
18    unreachable_pub,
19    bad_style,
20    dead_code,
21    improper_ctypes,
22    non_shorthand_field_patterns,
23    no_mangle_generic_items,
24    overflowing_literals,
25    path_statements,
26    patterns_in_fns_without_body,
27    private_interfaces,
28    private_bounds,
29    unconditional_recursion,
30    unused,
31    unused_allocation,
32    unused_comparisons,
33    unused_parens,
34    while_true
35)]
36
37pub mod ancestry;
38pub mod event;
39pub mod expect;
40pub mod field;
41mod metadata;
42pub mod span;
43pub mod subscriber;
44
45#[cfg(feature = "tracing-subscriber")]
46pub mod layer;