atomic_websocket 0.7.5

High level Websocket util library from tokio-tungstenite
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"
rust-version = "1.77"
name = "atomic_websocket"
version = "0.7.5"
authors = ["hsng95@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High level Websocket util library from tokio-tungstenite"
homepage = "https://github.com/rabbitson87/atomic_websocket"
readme = "README.md"
keywords = [
    "websocket",
    "client",
    "server",
]
license = "Apache-2.0"
repository = "https://github.com/rabbitson87/atomic_websocket"

[features]
bebop = ["dep:bebop"]
debug = ["dep:log"]
default = [
    "native-db",
    "bebop",
]
native-db = [
    "dep:native_db",
    "dep:native_model",
]
rinf = ["dep:rinf"]
rustls = [
    "dep:rustls",
    "dep:tokio-rustls",
    "dep:rustls-pemfile",
    "tokio-tungstenite/__rustls-tls",
    "dep:webpki-roots",
]

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

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

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

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

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

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

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

[dependencies.bebop]
version = "3.2.3"
optional = true

[dependencies.chrono]
version = "0.4.44"
features = ["clock"]
default-features = false

[dependencies.dashmap]
version = "6.1"

[dependencies.futures-util]
version = "0.3.32"

[dependencies.log]
version = "0.4.29"
optional = true

[dependencies.nanoid]
version = "0.4.0"

[dependencies.native_db]
version = "0.8.2"
optional = true

[dependencies.native_model]
version = "0.4.20"
optional = true

[dependencies.rinf]
version = "8.9.1"
optional = true

[dependencies.rustls]
version = "0.23.37"
features = ["ring"]
optional = true
default-features = false

[dependencies.rustls-pemfile]
version = "2.2.0"
optional = true

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

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = [
    "sync",
    "macros",
    "time",
    "rt-multi-thread",
]
default-features = false

[dependencies.tokio-rustls]
version = "0.26.4"
optional = true
default-features = false

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

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

[dependencies.webpki-roots]
version = "1.0.6"
optional = true

[dev-dependencies.tempfile]
version = "3.26.0"

[dev-dependencies.tokio-test]
version = "0.4.5"