socketioxide-redis 0.4.0

Redis adapter for the socket.io protocol
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.86.0"
name = "socketioxide-redis"
version = "0.4.0"
authors = ["Théodore Prévot <"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Redis adapter for the socket.io protocol"
homepage = "https://github.com/totodore/socketioxide"
readme = "README.md"
keywords = [
    "socketio",
    "tower",
    "axum",
    "hyper",
    "websocket",
]
categories = [
    "asynchronous",
    "network-programming",
    "web-programming::websocket",
]
license = "MIT"
repository = "https://github.com/totodore/socketioxide"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["redis"]
fred = ["dep:fred"]
redis = ["dep:redis"]
redis-cluster = [
    "redis",
    "redis/cluster-async",
]

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

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

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

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

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

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

[dependencies.bytes]
version = "1.11"
features = ["serde"]

[dependencies.fred]
version = "10"
features = [
    "subscriber-client",
    "i-pubsub",
]
optional = true
default-features = false

[dependencies.futures-core]
version = "0.3"

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

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.redis]
version = "1"
features = [
    "aio",
    "tokio-comp",
    "streams",
]
optional = true
default-features = false

[dependencies.rmp]
version = "0.8"

[dependencies.rmp-serde]
version = "1.3"

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

[dependencies.smallvec]
version = "1.15"
features = [
    "union",
    "serde",
    "serde",
]

[dependencies.socketioxide-core]
version = "0.17"
features = ["remote-adapter"]

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1.49"
features = [
    "macros",
    "parking_lot",
    "rt-multi-thread",
]

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