# 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 = "2018" name = "tokio-tungstenite_wasi" version = "0.18.0" authors = [ "Daniel Abramov ", "Alexey Galakhov ", ] include = [ "examples/**/*", "src/**/*", "LICENSE", "README.md", "CHANGELOG.md", ] description = "Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation" homepage = "https://github.com/WasmEdge/tokio-tungstenite" documentation = "https://docs.rs/tokio-tungstenite/0.18.0" readme = "README.md" keywords = [ "websocket", "io", "web", ] categories = [ "web-programming::websocket", "network-programming", "asynchronous", "concurrency", ] license = "MIT" repository = "https://github.com/WasmEdge/tokio-tungstenite" [package.metadata.docs.rs] features = [ "native-tls", "__rustls-tls", ] [lib] name = "tokio_tungstenite" path = "src/lib.rs" [[example]] name = "autobahn-client" required-features = ["connect"] [[example]] name = "autobahn-server" required-features = ["handshake"] [[example]] name = "client" required-features = ["connect"] [[example]] name = "echo-server" required-features = ["handshake"] [[example]] name = "server-custom-accept" required-features = ["handshake"] [[example]] name = "server" required-features = ["handshake"] [[example]] name = "interval-server" required-features = ["handshake"] [dependencies.futures-util] version = "0.3" features = [ "sink", "std", ] default-features = false [dependencies.log] version = "0.4" [dependencies.native-tls-crate] version = "0.2.7" optional = true package = "native-tls" [dependencies.rustls] version = "0.20.0" optional = true [dependencies.rustls-native-certs] version = "0.6.1" optional = true [dependencies.tokio-native-tls] version = "0.3.0" optional = true [dependencies.tokio-rustls] version = "0.23.0" optional = true [dependencies.tokio_wasi] version = "1" features = [ "io-util", "rt", ] default-features = false [dependencies.tungstenite] version = "0.18.0" default-features = false [dependencies.webpki] version = "0.22.0" optional = true [dependencies.webpki-roots] version = "0.22.1" optional = true [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.futures-channel] version = "0.3" [dev-dependencies.hyper] version = "0.14" features = [ "http1", "server", "tcp", ] default-features = false [dev-dependencies.tokio] version = "1.0.0" features = [ "io-std", "macros", "net", "rt-multi-thread", "time", ] default-features = false [dev-dependencies.url] version = "2.0.0" [features] __rustls-tls = [ "rustls", "tokio-rustls", "stream", "tungstenite/__rustls-tls", "webpki", "handshake", ] connect = [ "stream", "tokio_wasi/net", "handshake", ] default = [ "connect", "handshake", ] handshake = ["tungstenite/handshake"] native-tls = [ "native-tls-crate", "tokio-native-tls", "stream", "tungstenite/native-tls", "handshake", ] native-tls-vendored = [ "native-tls", "native-tls-crate/vendored", "tungstenite/native-tls-vendored", ] rustls-tls-native-roots = [ "__rustls-tls", "rustls-native-certs", ] rustls-tls-webpki-roots = [ "__rustls-tls", "webpki-roots", ] stream = []