-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
44 lines (39 loc) · 1.25 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "leptos_server_signal"
version = "0.8.0"
edition = "2021"
authors = ["Ari Seyhun <[email protected]>"]
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.7", 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", "Window"] }
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"]