tracing-throttle 0.4.1

High-performance log deduplication and rate limiting for the tracing ecosystem
Documentation
[[bench]]
harness = false
name = "rate_limiting"
path = "benches/rate_limiting.rs"

[dependencies.ahash]
version = "0.8.12"

[dependencies.bincode]
optional = true
version = "1.3"

[dependencies.dashmap]
version = "6.1"

[dependencies.redis]
features = ["tokio-comp", "connection-manager"]
optional = true
version = "0.27"

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

[dependencies.tokio]
features = ["time", "sync", "rt", "rt-multi-thread", "macros"]
optional = true
version = "1.48"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.20"

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

[dev-dependencies.tokio]
features = ["full", "test-util"]
version = "1"

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

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

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

[[example]]
name = "policies"
path = "examples/policies.rs"
required-features = []

[[example]]
name = "redis"
path = "examples/redis.rs"
required-features = ["redis-storage"]

[[example]]
name = "summaries"
path = "examples/summaries.rs"
required-features = ["async"]

[features]
async = ["tokio"]
default = ["async", "human-readable"]
human-readable = []
redis-storage = ["redis", "serde", "bincode", "tokio"]
test-helpers = []

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

[package]
authors = ["Joris Hartog"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::debugging", "asynchronous"]
description = "High-performance log deduplication and rate limiting for the tracing ecosystem"
documentation = "https://docs.rs/tracing-throttle"
edition = "2021"
keywords = ["tracing", "logging", "rate-limiting", "deduplication", "throttle"]
license = "MIT"
name = "tracing-throttle"
readme = "README.md"
repository = "https://github.com/nootr/tracing-throttle"
rust-version = "1.70"
version = "0.4.1"

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

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

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

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

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

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

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

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

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