test-log 0.2.20

A replacement of the #[test] attribute that initializes logging and/or tracing infrastructure before running tests.
Documentation
# 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.20"
authors = ["Daniel Mueller <deso@posteo.net>"]
build = false
include = [
    "src/lib.rs",
    "LICENSE-*",
    "README.md",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"
documentation = "https://docs.rs/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"

[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"

[dependencies.env_logger]
version = "0.11"
optional = true
default-features = false

[dependencies.test-log-macros]
version = "=0.2.20"
default-features = false

[dependencies.tracing-subscriber]
version = "0.3.20"
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"
package = "log"

[dev-dependencies.rstest]
version = "0.26"

[dev-dependencies.test-case]
version = "3.1"

[dev-dependencies.tokio]
version = "1.38"
features = [
    "rt-multi-thread",
    "macros",
]
default-features = false

[dev-dependencies.tracing]
version = "0.1"

[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-time-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"