context-logger 0.1.4

A lightweight, ergonomic library for adding structured context to your logs
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"
rust-version = "1.85"
name = "context-logger"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, ergonomic library for adding structured context to your logs"
documentation = "https://docs.rs/crate/context-logger"
readme = "README.md"
keywords = [
    "log",
    "logging",
    "context-logging",
    "structured-logging",
]
categories = [
    "development-tools::debugging",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/alekseysidorov/context-logger"

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

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

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

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

[dependencies.erased-serde]
version = "0.4.6"

[dependencies.include-utils]
version = "0.2.4"

[dependencies.log]
version = "0.4.27"
features = ["kv_serde"]

[dependencies.pin-project]
version = "1"

[dependencies.serde]
version = "1"

[dev-dependencies.env_logger]
version = "0.11"
features = ["kv"]

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.structured-logger]
version = "1.0"

[dev-dependencies.tokio]
version = "1.45"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[lints.clippy]
missing_errors_doc = "warn"
missing_panics_doc = "warn"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

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

[lints.rustdoc]
broken_intra_doc_links = "deny"