rifts 0.3.2

Rift Realtime Protocol / 1.0 — server-side implementation
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 = "rifts"
version = "0.3.2"
authors = ["Zhenyi <434836402@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rift Realtime Protocol / 1.0 — server-side implementation"
homepage = "https://github.com/lazhenyi/rifts"
documentation = "https://docs.rs/rifts"
readme = "README.md"
keywords = [
    "realtime",
    "websocket",
    "messaging",
    "pubsub",
    "protocol",
]
categories = [
    "network-programming",
    "web-programming::websocket",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lazhenyi/rifts"

[features]
actix-web = [
    "dep:actix-web",
    "dep:actix-ws",
]
all-frameworks = [
    "axum",
    "actix-web",
    "warp",
    "ntex",
]
axum = ["dep:axum"]
default = ["websocket"]
ntex = ["dep:ntex"]
sled = ["dep:sled"]
tokio-frameworks = [
    "axum",
    "warp",
]
warp = ["dep:warp"]
websocket = ["dep:tokio-tungstenite"]

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

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

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

[dependencies.actix-web]
version = "4"
optional = true

[dependencies.actix-ws]
version = "0.3"
optional = true

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

[dependencies.axum]
version = "0.8"
features = ["ws"]
optional = true

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

[dependencies.ciborium]
version = "0.2"

[dependencies.dashmap]
version = "6"

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.ntex]
version = "2"
features = ["ws"]
optional = true

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.serde_json]
version = "1"

[dependencies.sled]
version = "0.34"
optional = true

[dependencies.thiserror]
version = "1"

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

[dependencies.tokio-tungstenite]
version = "0.24"
features = ["url"]
optional = true

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

[dependencies.tracing]
version = "0.1"

[dependencies.ulid]
version = "1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v7",
]

[dependencies.warp]
version = "0.3"
optional = true

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