# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.71" name = "test-log" version = "0.2.16" authors = ["Daniel Mueller "] include = [ "src/lib.rs", "LICENSE-*", "README.md", "CHANGELOG.md", ] description = """ A replacement of the #[test] attribute that initializes logging and/or tracing infrastructure before running tests. """ homepage = "https://github.com/d-e-s-o/test-log" readme = "README.md" keywords = [ "env_logger", "log", "logging", "testing", "tracing", ] categories = [ "development-tools::testing", "development-tools", "config", "api-bindings", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/d-e-s-o/test-log.git" [[test]] name = "default_log_filter" path = "tests/default_log_filter.rs" required-features = [ "log", "unstable", ] [dependencies.env_logger] version = "0.11" optional = true default-features = false [dependencies.test-log-macros] version = "0.2.15" [dependencies.tracing-subscriber] version = "0.3.17" features = [ "env-filter", "fmt", ] optional = true default-features = false [dev-dependencies._lazy_static_unused] version = "1.0.2" package = "lazy_static" [dev-dependencies.logging] version = "0.4.8" package = "log" [dev-dependencies.test-case] version = "3.1" [dev-dependencies.tokio] version = "1.0" features = [ "rt-multi-thread", "macros", ] default-features = false [dev-dependencies.tracing] version = "0.1.20" [features] color = [ "env_logger?/auto-color", "tracing-subscriber?/ansi", ] default = [ "log", "color", ] log = [ "dep:env_logger", "test-log-macros/log", "tracing-subscriber?/tracing-log", ] trace = [ "dep:tracing-subscriber", "test-log-macros/trace", ] unstable = ["test-log-macros/unstable"]