context-logger 0.2.0

A small structured context propagation layer for the standard Rust log ecosystem.
Documentation
[package]
name = "context-logger"
description = "A small structured context propagation layer for the standard Rust log ecosystem."
documentation = "https://docs.rs/crate/context-logger"
repository = "https://github.com/alekseysidorov/context-logger"
license = "MIT OR Apache-2.0"
keywords = [
  "context-logging",
  "log",
  "logging",
  "structured-logging",
  "tracing",
]
categories = ["asynchronous", "development-tools::debugging"]

version = "0.2.0"
edition = "2024"
rust-version = "1.85"

[dependencies]
erased-serde = "0.4.10"
include-utils = "0.2.4"
log = { version = "0.4.33", features = ["kv_serde"] }
pin-project = "1"
serde = "1"

[dev-dependencies]
chrono = "0.4"
env_logger = { version = "0.11", features = ["kv"] }
futures-util = "0.3"
pretty_assertions = "1.4"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
static_assertions = "1"
structured-logger = { version = "1.0" }
tokio = { version = "1.53", features = ["macros", "rt-multi-thread", "time"] }

[lints.clippy]
missing_errors_doc = "warn"
missing_panics_doc = "warn"
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"

[lints.rustdoc]
broken_intra_doc_links = "deny"