feat: introduce simpler adapters for liveview
This commit is contained in:
1 parent
260c4f9778
commit
aa71c111cd
12 files changed
+409
-1598
No files matched your search
@@ -10,7 +10,6 @@ description = "Build server-side apps with Dioxus"
|
||||
license = "MIT/Apache-2.0"
|
||||
|
||||
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
@@ -28,7 +27,7 @@ tokio-util = { version = "0.7.0", features = ["full"] }
|
||||
|
||||
dioxus-html = { path = "../html", features = ["serialize"], version = "^0.2.1" }
|
||||
dioxus-core = { path = "../core", features = ["serialize"], version = "^0.2.1" }
|
||||
|
||||
dioxus-interpreter-js = { path = "../interpreter" }
|
||||
|
||||
# warp
|
||||
warp = { version = "0.3", optional = true }
|
||||
@@ -39,6 +38,9 @@ tower = { version = "0.4.12", optional = true }
|
||||
|
||||
# salvo
|
||||
salvo = { version = "0.32.0", optional = true, features = ["ws"] }
|
||||
thiserror = "1.0.37"
|
||||
uuid = { version = "1.2.2", features = ["v4"] }
|
||||
anyhow = "1.0.66"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
@@ -49,4 +51,16 @@ salvo = { version = "0.32.0", features = ["affix", "ws"] }
|
||||
tower = "0.4.12"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
default = ["salvo"]
|
||||
|
||||
[[example]]
|
||||
name = "axum"
|
||||
required-features = ["axum"]
|
||||
|
||||
[[example]]
|
||||
name = "salvo"
|
||||
required-features = ["salvo"]
|
||||
|
||||
[[example]]
|
||||
name = "warp"
|
||||
required-features = ["warp"]
|
||||
Reference in new issue
Block a user