anycms-event 0.1.5

A type-safe, async event bus system for AnyCMS
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"
name = "anycms-event"
version = "0.1.5"
authors = ["Liangdi <wu@liangdi.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A type-safe, async event bus system for AnyCMS"
homepage = "https://anycms.org"
documentation = "https://docs.rs/anycms-event"
readme = "README.md"
keywords = [
    "event-bus",
    "async",
    "tokio",
    "events",
    "pubsub",
]
categories = [
    "asynchronous",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/anycms/anycms-event"

[features]
default = []
prometheus = ["dep:prometheus"]
testing = ["tokio/time"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anycms-event-derive]
version = "0.1.5"

[dependencies.dashmap]
version = "6"

[dependencies.prometheus]
version = "0.13"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "macros",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.actix-web]
version = "4"

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

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "macros",
    "time",
    "rt-multi-thread",
]

[dev-dependencies.tokio-stream]
version = "0.1"

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

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