|
@@ -38,6 +38,10 @@ salvo = { version = "0.44.1", optional = true, features = ["ws"] }
|
|
once_cell = "1.17.1"
|
|
once_cell = "1.17.1"
|
|
async-trait = "0.1.71"
|
|
async-trait = "0.1.71"
|
|
|
|
|
|
|
|
+# rocket
|
|
|
|
+rocket = { version = "0.5.0", optional = true }
|
|
|
|
+rocket_ws = { version = "0.1.0", optional = true }
|
|
|
|
+
|
|
# actix is ... complicated?
|
|
# actix is ... complicated?
|
|
# actix-files = { version = "0.6.2", optional = true }
|
|
# actix-files = { version = "0.6.2", optional = true }
|
|
# actix-web = { version = "4.2.1", optional = true }
|
|
# actix-web = { version = "4.2.1", optional = true }
|
|
@@ -49,13 +53,16 @@ tokio = { workspace = true, features = ["full"] }
|
|
dioxus = { workspace = true }
|
|
dioxus = { workspace = true }
|
|
warp = "0.3.3"
|
|
warp = "0.3.3"
|
|
axum = { version = "0.6.1", features = ["ws"] }
|
|
axum = { version = "0.6.1", features = ["ws"] }
|
|
-salvo = { version = "0.44.1", features = ["affix", "ws"] }
|
|
|
|
|
|
+# salvo = { version = "0.44.1", features = ["affix", "ws"] }
|
|
|
|
+rocket = "0.5.0"
|
|
|
|
+rocket_ws = "0.1.0"
|
|
tower = "0.4.13"
|
|
tower = "0.4.13"
|
|
|
|
|
|
[features]
|
|
[features]
|
|
default = ["hot-reload"]
|
|
default = ["hot-reload"]
|
|
# actix = ["actix-files", "actix-web", "actix-ws"]
|
|
# actix = ["actix-files", "actix-web", "actix-ws"]
|
|
hot-reload = ["dioxus-hot-reload"]
|
|
hot-reload = ["dioxus-hot-reload"]
|
|
|
|
+rocket = ["dep:rocket", "dep:rocket_ws"]
|
|
|
|
|
|
[[example]]
|
|
[[example]]
|
|
name = "axum"
|
|
name = "axum"
|
|
@@ -68,3 +75,7 @@ required-features = ["salvo"]
|
|
[[example]]
|
|
[[example]]
|
|
name = "warp"
|
|
name = "warp"
|
|
required-features = ["warp"]
|
|
required-features = ["warp"]
|
|
|
|
+
|
|
|
|
+[[example]]
|
|
|
|
+name = "rocket"
|
|
|
|
+required-features = ["rocket"]
|