rustlog 0.3.2

A small, dependency-light logging crate with a pragmatic API, color (optional), groups, and a scope timer
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.70"
name = "rustlog"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small, dependency-light logging crate with a pragmatic API, color (optional), groups, and a scope timer"
homepage = "https://github.com/milchinskiy/rustlog"
readme = "README.md"
keywords = [
    "logger",
    "logging",
    "log",
]
categories = ["development-tools::debugging"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/milchinskiy/rustlog"

[features]
color = []
default = [
    "thread-id",
    "timestamp",
    "color",
    "file-line",
]
file-line = []
localtime = ["dep:time"]
thread-id = []
timestamp = []

[lib]
name = "rustlog"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "local_logger"
path = "examples/local_logger.rs"

[[test]]
name = "banner"
path = "tests/banner.rs"

[[test]]
name = "banner_newline"
path = "tests/banner_newline.rs"

[[test]]
name = "color_env"
path = "tests/color_env.rs"

[[test]]
name = "color_env_invalid"
path = "tests/color_env_invalid.rs"

[[test]]
name = "color_modes"
path = "tests/color_modes.rs"

[[test]]
name = "concurrency"
path = "tests/concurrency.rs"

[[test]]
name = "env"
path = "tests/env.rs"

[[test]]
name = "env_bools"
path = "tests/env_bools.rs"

[[test]]
name = "env_levels_all"
path = "tests/env_levels_all.rs"

[[test]]
name = "env_more"
path = "tests/env_more.rs"

[[test]]
name = "file_line"
path = "tests/file_line.rs"

[[test]]
name = "groups_and_scope"
path = "tests/groups_and_scope.rs"

[[test]]
name = "groups_toggle"
path = "tests/groups_toggle.rs"

[[test]]
name = "helpers"
path = "tests/helpers.rs"

[[test]]
name = "levels_color_all"
path = "tests/levels_color_all.rs"

[[test]]
name = "local_logger"
path = "tests/local_logger.rs"

[[test]]
name = "local_scope_time_block"
path = "tests/local_scope_time_block.rs"

[[test]]
name = "log_levels"
path = "tests/log_levels.rs"

[[test]]
name = "parse_and_levels"
path = "tests/parse_and_levels.rs"

[[test]]
name = "scope_time_raii"
path = "tests/scope_time_raii.rs"

[[test]]
name = "set_file_err"
path = "tests/set_file_err.rs"

[[test]]
name = "stdout_auto"
path = "tests/stdout_auto.rs"

[[test]]
name = "stdout_auto_color"
path = "tests/stdout_auto_color.rs"

[[test]]
name = "target_file"
path = "tests/target_file.rs"

[[test]]
name = "target_idempotent"
path = "tests/target_idempotent.rs"

[[test]]
name = "target_stderr"
path = "tests/target_stderr.rs"

[[test]]
name = "target_stdout"
path = "tests/target_stdout.rs"

[[test]]
name = "thread_id"
path = "tests/thread_id.rs"

[[test]]
name = "timestamps"
path = "tests/timestamps.rs"

[[test]]
name = "writer_no_sink"
path = "tests/writer_no_sink.rs"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "local-offset",
]
optional = true
default-features = false

[lints.clippy]
cargo = "warn"
complexity = "warn"
correctness = "warn"
nursery = "warn"
pedantic = "warn"
performance = "warn"
redundant_pub_crate = "warn"
style = "warn"