log_nonblock 0.1.7

Asyncronus logger that prints all messages to STDOUT or STDERR in non blocking mode
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 = "2024"
name = "log_nonblock"
version = "0.1.7"
authors = ["Dmitrii Patsura <talk@dmtry.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Asyncronus logger that prints all messages to STDOUT or STDERR in non blocking mode"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ovr/log_nonblock"

[features]
colors = ["colored"]
default = [
    "colors",
    "timestamps",
    "macros",
]
json = [
    "serde",
    "serde_json",
]
macros = []
nonblock-io = []
stderr = []
threads = []
timestamps = ["time"]

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

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

[[example]]
name = "json_test"
path = "examples/json_test.rs"
required-features = [
    "json",
    "timestamps",
]

[[example]]
name = "nonblocking_test"
path = "examples/blocking_test.rs"
required-features = ["nonblock-io"]

[[example]]
name = "test"
path = "examples/test.rs"
required-features = [
    "colored",
    "time",
]

[[bench]]
name = "logger_comparison"
path = "benches/logger_comparison.rs"
harness = false

[dependencies.colored]
version = "3.0.0"
optional = true

[dependencies.crossbeam-channel]
version = "0.5.15"

[dependencies.log]
version = "0.4.28"
features = ["std"]

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.time]
version = "0.3.44"
features = [
    "formatting",
    "local-offset",
    "macros",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.simple_logger]
version = "5.0"

[target."cfg(unix)".dependencies.libc]
version = "0.2.177"