# 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 = "websocket-client-async" version = "0.1.4" authors = ["yi lu "] description = "Asynchronous websocket client." documentation = "https://docs.rs/websocket-client" keywords = ["websocket", "io", "web", "client"] license = "MIT/Apache-2.0" repository = "https://github.com/luyikk/websocket-client" [lib] crate-type = ["cdylib", "rlib"] [dependencies.anyhow] version = "1.0" [dependencies.aqueue] version = "1.2" [dependencies.async-trait] version = "0.1" [dependencies.cfg-if] version = "1.0" [dependencies.env_logger] version = "0.9" optional = true [dependencies.futures-channel] version = "0.3.17" [dependencies.futures-core] version = "0.3" [dependencies.futures-io] version = "0.3" [dependencies.futures-util] version = "0.3" features = ["io", "sink", "std"] default-features = false [dependencies.js-sys] version = "0.3" [dependencies.log] version = "0.4" [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.tokio-tungstenite] version = "0.16" optional = true [dependencies.wasm-bindgen] version = "0.2" [dependencies.wasm-bindgen-futures] version = "0.4" [dependencies.web-sys] version = "0.3.22" features = ["BinaryType", "Blob", "ErrorEvent", "FileReader", "MessageEvent", "ProgressEvent", "WebSocket"] [dev-dependencies.console_error_panic_hook] version = "0.1" [dev-dependencies.wasm-bindgen] version = "0.2" [dev-dependencies.wasm-bindgen-futures] version = "0.4" [dev-dependencies.wasm-bindgen-test] version = "0.3.13" [dev-dependencies.wasm-logger] version = "0.2.0" [features] build_axamples_server = ["tokio", "tokio-tungstenite", "env_logger"] default = []