compio-ws 0.3.0

WebSocket library for the compio runtime
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 = "compio-ws"
version = "0.3.0"
authors = ["Berrysoft <Strawberry_Str@hotmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebSocket library for the compio runtime"
readme = "README.md"
keywords = [
    "async",
    "net",
    "websocket",
]
categories = [
    "asynchronous",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/compio-rs/compio"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
native-tls = [
    "compio-tls/native-tls",
    "tungstenite/native-tls",
]
ring = ["compio-tls/ring"]
rustls = [
    "compio-tls/rustls",
    "tungstenite/__rustls-tls",
]
rustls-native-certs = [
    "rustls",
    "dep:rustls-native-certs",
]
rustls-platform-verifier = [
    "rustls",
    "dep:rustls-platform-verifier",
]
webpki-roots = [
    "rustls",
    "dep:webpki-roots",
]

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

[[example]]
name = "autobahn-client"
path = "examples/autobahn-client.rs"

[[example]]
name = "autobahn-server"
path = "examples/autobahn-server.rs"

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

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

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

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

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

[dependencies.compio-buf]
version = "0.8.0"

[dependencies.compio-io]
version = "0.9.0"
features = ["compat"]

[dependencies.compio-log]
version = "0.1.0"

[dependencies.compio-net]
version = "0.11.0"

[dependencies.compio-tls]
version = "0.9.0"
default-features = false

[dependencies.rustls-native-certs]
version = "0.8.0"
optional = true

[dependencies.rustls-platform-verifier]
version = "0.6.0"
optional = true

[dependencies.tungstenite]
version = "0.28.0"

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

[dev-dependencies.compio-macros]
version = "0.1.2"

[dev-dependencies.compio-runtime]
version = "0.11.0"

[dev-dependencies.futures-channel]
version = "0.3.29"

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

[dev-dependencies.tracing-subscriber]
version = "0.3.18"
features = ["env-filter"]