[package]
edition = "2021"
name = "doido-cable"
version = "0.0.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Action Cable analogue: channels, broadcasts, Turbo-friendly pub/sub backends for Doido."
readme = false
license = "MIT"
[features]
cable-db = ["dep:doido-model"]
cable-redis = ["dep:redis"]
[lib]
name = "doido_cable"
path = "src/lib.rs"
[[test]]
name = "broadcast_test"
path = "tests/broadcast_test.rs"
[[test]]
name = "cable_test"
path = "tests/cable_test.rs"
[[test]]
name = "cable_test_unit"
path = "tests/cable_test_unit.rs"
[[test]]
name = "channel_codegen_test"
path = "tests/channel_codegen_test.rs"
[[test]]
name = "channel_macro_test"
path = "tests/channel_macro_test.rs"
[[test]]
name = "channel_test"
path = "tests/channel_test.rs"
[[test]]
name = "config_test"
path = "tests/config_test.rs"
[[test]]
name = "connection_test"
path = "tests/connection_test.rs"
[[test]]
name = "db_pubsub_test"
path = "tests/db_pubsub_test.rs"
[[test]]
name = "heartbeat_test"
path = "tests/heartbeat_test.rs"
[[test]]
name = "protocol_test"
path = "tests/protocol_test.rs"
[[test]]
name = "pubsub_test"
path = "tests/pubsub_test.rs"
[[test]]
name = "redis_pubsub_test"
path = "tests/redis_pubsub_test.rs"
[[test]]
name = "server_e2e_test"
path = "tests/server_e2e_test.rs"
[[test]]
name = "server_frame_test"
path = "tests/server_frame_test.rs"
[[test]]
name = "streams_test"
path = "tests/streams_test.rs"
[[test]]
name = "wire_command_test"
path = "tests/wire_command_test.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = ["ws"]
[dependencies.doido-cable-macros]
version = "0.0.9"
[dependencies.doido-core]
version = "0.0.9"
[dependencies.doido-model]
version = "0.0.9"
optional = true
[dependencies.futures-util]
version = "0.3"
[dependencies.redis]
version = "1"
features = [
"tokio-comp",
"aio",
]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_norway]
version = "0.9"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"rt",
"macros",
"time",
]
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.axum]
version = "0.8"
features = ["ws"]
[dev-dependencies.doido-core]
version = "0.0.9"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"rt-multi-thread",
"macros",
"time",
"net",
]
[dev-dependencies.tokio-tungstenite]
version = "0.26"