shared-logging 0.1.0

Structured logging library with context propagation, redaction, and HTTP middleware
Documentation
[dependencies.chrono]
version = "0.4"

[dependencies.http]
version = "1.0"

[dependencies.http-body]
version = "1.0"

[dependencies.opentelemetry]
optional = true
version = "0.24"

[dependencies.opentelemetry_sdk]
optional = true
version = "0.24"

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
features = ["trace"]
optional = true
version = "0.6"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-opentelemetry]
optional = true
version = "0.24"

[dependencies.tracing-subscriber]
features = ["env-filter", "json", "fmt", "chrono"]
version = "0.3"

[dependencies.uuid]
features = ["v4", "serde"]
version = "1.0"

[dev-dependencies.axum]
version = "0.7"

[dev-dependencies.tokio]
features = ["full"]
version = "1.0"

[dev-dependencies.tower-http]
features = ["trace"]
version = "0.6"

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

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

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

[features]
default = []
http = ["tower-http"]
otel = ["opentelemetry", "opentelemetry_sdk", "tracing-opentelemetry"]

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

[package]
authors = ["Kelley Blackmore <kelleyblackmore@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools"]
description = "Structured logging library with context propagation, redaction, and HTTP middleware"
edition = "2021"
keywords = ["logging", "structured-logging", "tracing", "observability", "redaction"]
license = "MIT"
name = "shared-logging"
readme = "README.md"
repository = "https://github.com/kelleyblackmore/shared-logging"
version = "0.1.0"