jaeb 0.5.0

simple snapshot-driven event bus
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.94"
name = "jaeb"
version = "0.5.0"
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"]
metrics = ["dep:metrics"]
test-utils = []
trace = ["dep:tracing"]

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

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

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

[[test]]
name = "bus_in_handler"
path = "tests/bus_in_handler.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 = "edge_cases"
path = "tests/edge_cases.rs"

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

[[test]]
name = "macro_dep_handlers"
path = "tests/macro_dep_handlers.rs"
required-features = ["macros"]

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

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

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

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

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

[[test]]
name = "proptest_dispatch"
path = "tests/proptest_dispatch.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 = "stress"
path = "tests/stress.rs"

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

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

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

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

[dependencies.arc-swap]
version = "1.9"

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.jaeb-macros]
version = "0.4.0"
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.metrics-util]
version = "0.20"
features = ["debugging"]
default-features = false

[dev-dependencies.proptest]
version = "1"

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

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