[dependencies.env_logger]
default-features = false
optional = true
version = "0.11"
[dependencies.test-log-macros]
version = "=0.2.19"
[dependencies.tracing-subscriber]
default-features = false
features = ["env-filter", "fmt"]
optional = true
version = "0.3.20"
[dev-dependencies._lazy_static_unused]
package = "lazy_static"
version = "1.0.2"
[dev-dependencies.logging]
package = "log"
version = "0.4"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.test-case]
version = "3.1"
[dev-dependencies.tokio]
default-features = false
features = ["rt-multi-thread", "macros"]
version = "1.38"
[dev-dependencies.tracing]
version = "0.1"
[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"]
[lib]
name = "test_log"
path = "src/lib.rs"
[lints.clippy]
absolute-paths = "warn"
allow-attributes = "warn"
clone-on-ref-ptr = "warn"
collapsible-else-if = "allow"
collapsible-if = "allow"
dbg-macro = "warn"
derive-partial-eq-without-eq = "warn"
diverging-sub-expression = "allow"
doc-markdown = "warn"
join-absolute-paths = "warn"
large-enum-variant = "warn"
let-and-return = "allow"
let-unit-value = "allow"
module-inception = "allow"
redundant-closure-for-method-calls = "warn"
type-complexity = "allow"
unchecked-duration-subtraction = "warn"
uninlined-format-args = "warn"
wildcard-imports = "warn"
[lints.rust]
deprecated-safe = "warn"
future-incompatible = "warn"
keyword-idents = "warn"
let-underscore = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
trivial-numeric-casts = "warn"
unsafe-op-in-unsafe-fn = "warn"
unused = "warn"
[package]
authors = ["Daniel Mueller <deso@posteo.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "development-tools", "config", "api-bindings"]
description = """
A replacement of the #[test] attribute that initializes logging and/or
tracing infrastructure before running tests.
"""
edition = "2021"
homepage = "https://github.com/d-e-s-o/test-log"
include = ["src/lib.rs", "LICENSE-*", "README.md", "CHANGELOG.md"]
keywords = ["env_logger", "log", "logging", "testing", "tracing"]
license = "Apache-2.0 OR MIT"
name = "test-log"
readme = "README.md"
repository = "https://github.com/d-e-s-o/test-log.git"
rust-version = "1.71"
version = "0.2.19"