fastwebsockets 0.8.0

A fast RFC6455 WebSocket server implementation
Documentation
[[bench]]
harness = false
name = "unmask"

[[example]]
name = "echo_server"
path = "examples/echo_server.rs"
required-features = ["upgrade"]

[[example]]
name = "autobahn_client"
path = "examples/autobahn_client.rs"
required-features = ["upgrade"]

[[example]]
name = "tls_client"
path = "examples/tls_client.rs"
required-features = ["upgrade"]

[[example]]
name = "axum"
path = "examples/axum.rs"
required-features = ["upgrade", "with_axum"]
[dependencies.async-trait]
optional = true
version = "0.1"

[dependencies.axum-core]
optional = true
version = "0.4.3"

[dependencies.base64]
optional = true
version = "0.21.0"

[dependencies.bytes]
version = "1.5.0"

[dependencies.http]
optional = true
version = "1"

[dependencies.http-body-util]
optional = true
version = "0.1.0"

[dependencies.hyper]
features = ["http1", "server", "client"]
optional = true
version = "1"

[dependencies.hyper-util]
features = ["tokio"]
optional = true
version = "0.1.0"

[dependencies.pin-project]
optional = true
version = "1.0.8"

[dependencies.rand]
version = "0.8.4"

[dependencies.sha1]
optional = true
version = "0.10.5"

[dependencies.simdutf8]
optional = true
version = "0.1.4"

[dependencies.thiserror]
version = "1.0.40"

[dependencies.tokio]
default-features = false
features = ["io-util"]
version = "1.25.0"

[dependencies.utf-8]
version = "0.7.5"
[dev-dependencies.anyhow]
version = "1.0.71"

[dev-dependencies.assert2]
version = "0.3.4"

[dev-dependencies.axum]
version = "0.7.4"

[dev-dependencies.bytes]
version = "1.4.0"

[dev-dependencies.criterion]
version = "0.4.0"

[dev-dependencies.http-body-util]
version = "0.1.0"

[dev-dependencies.hyper]
features = ["http1", "server", "client"]
version = "1"

[dev-dependencies.hyper-util]
features = ["tokio"]
version = "0.1.0"

[dev-dependencies.rustls-pemfile]
version = "1.0"

[dev-dependencies.tokio]
features = ["full", "macros"]
version = "1.25.0"

[dev-dependencies.tokio-rustls]
version = "0.24.0"

[dev-dependencies.trybuild]
version = "1.0.80"

[dev-dependencies.webpki-roots]
version = "0.23.0"

[features]
default = ["simd"]
simd = ["simdutf8/aarch64_neon"]
unstable-split = []
upgrade = ["hyper", "pin-project", "base64", "sha1", "hyper-util", "http-body-util"]
with_axum = ["axum-core", "http", "async-trait"]

[package]
authors = ["Divy Srivastava <dj.srivastava23@gmail.com>"]
description = "A fast RFC6455 WebSocket server implementation"
edition = "2021"
license = "Apache-2.0"
name = "fastwebsockets"
readme = "README.md"
repository = "https://github.com/denoland/fastwebsockets"
version = "0.8.0"
[package.metadata.docs.rs]
features = ["upgrade", "with_axum"]
[profile.release]
codegen-units = 1
lto = true
opt-level = 3

[profile.release-with-debug]
debug = 2
inherits = "release"