[package] name = "wasm-bus-ws" version = "1.1.0" authors = ["Johnathan Sharratt "] edition = "2018" description = "WebAssembly Web Socket Interface" license = "MIT OR Apache-2.0" keywords = [ "wasi", "wasm", "bus", "websocket" ] repository = "https://github.com/john-sharratt/ate" readme = "README.md" [features] default = [ "frontend" ] frontend = [ "wasm-bus/syscalls" ] sys = [ "tokio-tungstenite", "futures", "futures-util", "tokio/rt", "tokio/rt-multi-thread", "tokio/time", "tokio/net" ] [dependencies] tracing = { version = "^0.1", features = [ "log" ] } serde = { version = "^1", features = ["derive"] } url = "2" async-trait = "^0.1" tokio = { version = "^1", features = [ "sync", "macros" ], default_features = false } wasm-bus = { version = "^1", path = "../wasm-bus", default_features = false, features = [ "rt", "macros" ] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tokio-tungstenite = { version = "^0.16", features = [ "native-tls" ], optional = true } futures = { version = "^0.3", optional = true } futures-util = { version = "^0.3", optional = true }