tapaculo 1.5.0

Lightweight Rust server for real-time and turn-based multiplayer communication
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 = "2021"
name = "tapaculo"
version = "1.5.0"
authors = ["Alex Trebs email@alextrebilcock.co.uk"]
build = false
exclude = [
    "docs/",
    ".github/",
    "target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight Rust server for real-time and turn-based multiplayer communication"
homepage = "https://github.com/AlexTrebs/tapaculo"
documentation = "https://docs.rs/tapaculo"
readme = "README.md"
keywords = [
    "websocket",
    "multiplayer",
    "game-server",
    "realtime",
    "pubsub",
]
categories = [
    "game-development",
    "network-programming",
    "web-programming::websocket",
]
license = "MIT"
repository = "https://github.com/AlexTrebs/tapaculo"

[features]
default = ["inmemory"]
inmemory = []
redis-backend = ["dep:redis"]

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

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

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

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

[[example]]
name = "server_with_redis"
path = "examples/server_with_redis.rs"
required-features = ["redis-backend"]

[[bench]]
name = "auth"
path = "benches/auth.rs"
harness = false

[[bench]]
name = "pubsub"
path = "benches/pubsub.rs"
harness = false

[[bench]]
name = "rate_limit"
path = "benches/rate_limit.rs"
harness = false

[[bench]]
name = "room"
path = "benches/room.rs"
harness = false

[dependencies.anyhow]
version = "1.0.99"

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

[dependencies.axum]
version = "0.8.4"
features = [
    "macros",
    "ws",
]

[dependencies.chrono]
version = "0.4.41"

[dependencies.dotenv]
version = "0.15.0"

[dependencies.futures]
version = "0.3"

[dependencies.jsonwebtoken]
version = "9.3.1"

[dependencies.rand]
version = "0.8"

[dependencies.redis]
version = "0.32.5"
features = [
    "aio",
    "tokio-comp",
]
optional = true

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

[dependencies.serde_json]
version = "1.0.143"

[dependencies.thiserror]
version = "2.0.16"

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

[dependencies.tokio-stream]
version = "0.1.17"

[dependencies.tokio-tungstenite]
version = "0.27.0"

[dependencies.tower-http]
version = "0.6.4"
features = ["full"]

[dependencies.tracing]
version = "0.1.41"

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

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]