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