[package] name = "leptos_server_signal" version = "0.6.0" edition = "2021" authors = ["Ari Seyhun "] description = "Leptos server signals synced through websockets" repository = "https://github.com/tqwewe/leptos_server_signal" license = "MIT" keywords = ["leptos", "server", "signal", "websocket"] categories = [ "wasm", "web-programming", "web-programming::http-client", "web-programming::http-server", "web-programming::websocket" ] [dependencies] cfg-if = "1" js-sys = "0.3" json-patch = "1" leptos = { version = "0.6", default-features = false } serde = { version = "1", features = ["derive"] } serde_json = "1" wasm-bindgen = { version = "0.2", default-features = false } web-sys = { version = "0.3", features = ["WebSocket", "MessageEvent"] } thiserror = { version = "1", optional = true } # Actix actix-ws = { version = "0.2", optional = true } # Axum axum = { version = "0.7", default-features = false, features = ["ws"], optional = true } futures = { version = "0.3", default-features = false, optional = true } [features] default = [] ssr = [] actix = ["dep:actix-ws", "dep:thiserror"] axum = ["dep:axum", "dep:futures", "dep:thiserror"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]