# 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 = "mezzenger-websocket" version = "0.2.5" authors = ["zduny "] description = "WebSocket mezzenger transport." homepage = "https://github.com/zduny/mezzenger/tree/master/mezzenger-websocket" documentation = "https://docs.rs/mezzenger-websocket/" readme = "README.md" keywords = [ "message", "message-passing", "communication", "mezzenger", "websocket", ] license = "Apache-2.0" repository = "https://github.com/zduny/mezzenger" [dependencies.futures] version = "0.3.28" [dependencies.kodec] version = "0.1.0" [dependencies.mezzenger] version = "0.1.4" [dependencies.serde] version = "1.0.188" features = ["derive"] [features] default = [ "native", "wasm", ] native = ["tokio-tungstenite"] wasm = [ "wasm-bindgen", "js-utils", "web-sys", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.pin-project] version = "1.1.3" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-tungstenite] version = "0.18.0" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tungstenite] version = "0.18.0" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.warp] version = "0.3.5" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.64" [target."cfg(target_arch = \"wasm32\")".dependencies.js-utils] version = "0.1.4" features = ["event"] optional = true default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.87" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.64" features = [ "Location", "WebSocket", "BinaryType", "Event", "MessageEvent", "CloseEvent", ] optional = true