[package]
edition = "2024"
rust-version = "1.94"
name = "jaeb"
version = "0.3.7"
authors = ["linket <t.linke@pripares.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "simple snapshot-driven event bus"
readme = "README.md"
keywords = [
"event-bus",
"tokio",
"async",
"pubsub",
"snapshot",
]
categories = [
"asynchronous",
"concurrency",
]
license = "MIT"
repository = "https://github.com/LinkeTh/jaeb"
[features]
default = []
macros = [
"dep:jaeb-macros",
"dep:inventory",
]
metrics = ["dep:metrics"]
test-utils = []
trace = ["dep:tracing"]
[lib]
name = "jaeb"
path = "src/lib.rs"
[[test]]
name = "backpressure"
path = "tests/backpressure.rs"
[[test]]
name = "builder_validation"
path = "tests/builder_validation.rs"
[[test]]
name = "clone"
path = "tests/clone.rs"
[[test]]
name = "closure_handlers"
path = "tests/closure_handlers.rs"
[[test]]
name = "dead_letter"
path = "tests/dead_letter.rs"
[[test]]
name = "dispatch"
path = "tests/dispatch.rs"
[[test]]
name = "introspection"
path = "tests/introspection.rs"
[[test]]
name = "middleware"
path = "tests/middleware.rs"
[[test]]
name = "named_subscriptions"
path = "tests/named_subscriptions.rs"
[[test]]
name = "once"
path = "tests/once.rs"
[[test]]
name = "panic_safety"
path = "tests/panic_safety.rs"
[[test]]
name = "priority"
path = "tests/priority.rs"
[[test]]
name = "retry"
path = "tests/retry.rs"
[[test]]
name = "semaphore"
path = "tests/semaphore.rs"
[[test]]
name = "shutdown"
path = "tests/shutdown.rs"
[[test]]
name = "snapshot"
path = "tests/snapshot.rs"
[[test]]
name = "subscription_guard"
path = "tests/subscription_guard.rs"
[[test]]
name = "test_utils"
path = "tests/test_utils.rs"
[[test]]
name = "unsubscribe"
path = "tests/unsubscribe.rs"
[[bench]]
name = "comparison"
path = "benches/comparison.rs"
harness = false
[[bench]]
name = "evno_contention"
path = "benches/evno_contention.rs"
harness = false
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.arc-swap]
version = "1.7"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.inventory]
version = "0.3"
optional = true
[dependencies.jaeb-macros]
version = "0.2"
optional = true
[dependencies.metrics]
version = "0.24"
optional = true
[dependencies.tokio]
version = "1.51"
features = [
"rt",
"rt-multi-thread",
"sync",
"macros",
"time",
]
[dependencies.tracing]
version = "0.1"
features = [
"std",
"log",
]
optional = true
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]
[dev-dependencies.eventador]
version = "0.0.18"
features = ["async"]
[dev-dependencies.eventbuzz]
version = "0.2"
features = ["asynchronous"]
[dev-dependencies.evno]
version = "1.0.2"
[dev-dependencies.tokio]
version = "1.51"
features = [
"full",
"test-util",
]