[package]
edition = "2021"
rust-version = "1.85"
name = "logdrain"
version = "0.3.2"
authors = ["logdrain authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Online Drain log-template mining with path-preserving tokenization, masks, and persistence"
readme = "README.md"
keywords = [
"logs",
"observability",
"drain",
"log-parsing",
"log-mining",
]
categories = [
"parsing",
"algorithms",
"text-processing",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/vnvo/logdrain"
[features]
kafka = ["dep:rdkafka"]
redis = ["dep:redis"]
[lib]
name = "logdrain"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "highvolume"
path = "examples/highvolume.rs"
[[example]]
name = "scaling"
path = "examples/scaling.rs"
[[example]]
name = "stacktrace"
path = "examples/stacktrace.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "kafka_backend"
path = "tests/kafka_backend.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "realdata"
path = "tests/realdata.rs"
[[test]]
name = "redis_backend"
path = "tests/redis_backend.rs"
[[bench]]
name = "add"
path = "benches/add.rs"
harness = false
[dependencies.bincode]
version = "1.3"
[dependencies.dashmap]
version = "6"
[dependencies.rdkafka]
version = "0.36"
features = ["cmake-build"]
optional = true
[dependencies.redis]
version = "0.27"
optional = true
default-features = false
[dependencies.regex]
version = "1"
[dependencies.rustc-hash]
version = "2"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.smallvec]
version = "1"
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.testcontainers]
version = "0.23"
features = ["blocking"]
[dev-dependencies.testcontainers-modules]
version = "0.11"
features = [
"redis",
"kafka",
]