[[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"]
[dependencies.base64]
optional = true
version = "0.21.0"
[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.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"]
[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.6.0"
[package.metadata.docs.rs]
features = ["upgrade"]
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
[profile.release-with-debug]
debug = 2
inherits = "release"