| # 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" |
| rust-version = "1.51" |
| name = "tungstenite" |
| version = "0.19.0" |
| authors = [ |
| "Alexey Galakhov", |
| "Daniel Abramov", |
| ] |
| include = [ |
| "benches/**/*", |
| "src/**/*", |
| "LICENSE-*", |
| "README.md", |
| "CHANGELOG.md", |
| ] |
| description = "Lightweight stream-based WebSocket implementation" |
| homepage = "https://github.com/snapview/tungstenite-rs" |
| documentation = "https://docs.rs/tungstenite/0.19.0" |
| readme = "README.md" |
| keywords = [ |
| "websocket", |
| "io", |
| "web", |
| ] |
| categories = [ |
| "web-programming::websocket", |
| "network-programming", |
| ] |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/snapview/tungstenite-rs" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| |
| [[bench]] |
| name = "buffer" |
| harness = false |
| |
| [dependencies.byteorder] |
| version = "1.3.2" |
| |
| [dependencies.bytes] |
| version = "1.0" |
| |
| [dependencies.data-encoding] |
| version = "2" |
| optional = true |
| |
| [dependencies.http] |
| version = "0.2" |
| optional = true |
| |
| [dependencies.httparse] |
| version = "1.3.4" |
| optional = true |
| |
| [dependencies.log] |
| version = "0.4.8" |
| |
| [dependencies.native-tls-crate] |
| version = "0.2.3" |
| optional = true |
| package = "native-tls" |
| |
| [dependencies.rand] |
| version = "0.8.0" |
| |
| [dependencies.rustls] |
| version = "0.21.0" |
| optional = true |
| |
| [dependencies.rustls-native-certs] |
| version = "0.6.0" |
| optional = true |
| |
| [dependencies.sha1] |
| version = "0.10" |
| optional = true |
| |
| [dependencies.thiserror] |
| version = "1.0.23" |
| |
| [dependencies.url] |
| version = "2.1.0" |
| optional = true |
| |
| [dependencies.utf-8] |
| version = "0.7.5" |
| |
| [dependencies.webpki] |
| version = "0.22" |
| features = ["std"] |
| optional = true |
| |
| [dependencies.webpki-roots] |
| version = "0.23" |
| optional = true |
| |
| [dev-dependencies.criterion] |
| version = "0.4.0" |
| |
| [dev-dependencies.env_logger] |
| version = "0.10.0" |
| |
| [dev-dependencies.input_buffer] |
| version = "0.5.0" |
| |
| [dev-dependencies.net2] |
| version = "0.2.37" |
| |
| [dev-dependencies.rand] |
| version = "0.8.4" |
| |
| [features] |
| __rustls-tls = [ |
| "rustls", |
| "webpki", |
| ] |
| default = ["handshake"] |
| handshake = [ |
| "data-encoding", |
| "http", |
| "httparse", |
| "sha1", |
| "url", |
| ] |
| native-tls = ["native-tls-crate"] |
| native-tls-vendored = [ |
| "native-tls", |
| "native-tls-crate/vendored", |
| ] |
| rustls-tls-native-roots = [ |
| "__rustls-tls", |
| "rustls-native-certs", |
| ] |
| rustls-tls-webpki-roots = [ |
| "__rustls-tls", |
| "webpki-roots", |
| ] |