wsocket 0.3.2

Lighweight, fast and native WebSocket implementation for Rust.
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 = "wsocket"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lighweight, fast and native WebSocket implementation for Rust."
homepage = "https://codeberg.org/m4rc3l/wsocket#readme"
readme = "README.md"
keywords = [
    "websocket",
    "tokio",
    "async",
    "http",
]
license = "Apache-2.0 OR MIT"
repository = "https://codeberg.org/m4rc3l/wsocket.git"

[package.metadata.docs.rs]
all-features = true

[features]
client = ["dep:rand"]
handshake = [
    "client",
    "dep:hyper",
    "dep:base64",
    "dep:http-body-util",
    "dep:hyper-util",
    "hyper/client",
    "hyper/http1",
]
upgrade = [
    "dep:hyper",
    "dep:base64",
    "dep:http-body-util",
    "dep:hyper-util",
    "dep:pin-project-lite",
    "dep:sha1",
]

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

[dependencies.base64]
version = "0.22"
features = ["alloc"]
optional = true
default-features = false

[dependencies.http-body-util]
version = "0.1"
optional = true
default-features = false

[dependencies.hyper]
version = "1.9"
optional = true
default-features = false

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
optional = true
default-features = false

[dependencies.pin-project-lite]
version = "0.2"
optional = true
default-features = false

[dependencies.rand]
version = "0.10"
features = [
    "std",
    "std_rng",
    "thread_rng",
]
optional = true
default-features = false

[dependencies.sha1]
version = "0.11"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.tokio]
version = "1.52"
features = [
    "io-util",
    "sync",
    "macros",
]
default-features = false

[dependencies.tracing]
version = "0.1"
default-features = false

[dev-dependencies.tokio]
version = "1.52"
features = ["rt-multi-thread"]
default-features = false