# 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.95.0"
name = "ras-events"
version = "4.1.0"
authors = ["KeyCode17"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tokio broadcast event bus"
readme = false
license = "MIT"
repository = "https://github.com/KeyCode17/rust-ai-surfer"

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

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

[dependencies.async-broadcast]
version = "0.7"

[dependencies.async-trait]
version = "0.1"

[dependencies.futures]
version = "0.3"

[dependencies.ras-errors]
version = "4.1.0"

[dependencies.ras-types]
version = "4.1.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"
features = ["serde"]

[lints.clippy]
dbg_macro = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"
