|
@@ -13,45 +13,51 @@ license = "MIT/Apache-2.0"
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
[dependencies]
|
|
[dependencies]
|
|
-tokio = { version = "1", features = ["full"] }
|
|
|
|
-futures-util = { version = "0.3", default-features = false, features = [
|
|
|
|
|
|
+tokio = { version = "1.23.0", features = ["full"] }
|
|
|
|
+futures-util = { version = "0.3.25", default-features = false, features = [
|
|
"sink",
|
|
"sink",
|
|
] }
|
|
] }
|
|
-futures-channel = { version = "0.3.17", features = ["sink"] }
|
|
|
|
-pretty_env_logger = "0.4"
|
|
|
|
-tokio-stream = { version = "0.1.1", features = ["net"] }
|
|
|
|
|
|
+futures-channel = { version = "0.3.25", features = ["sink"] }
|
|
|
|
+pretty_env_logger = "0.4.0"
|
|
|
|
+tokio-stream = { version = "0.1.11", features = ["net"] }
|
|
|
|
|
|
-serde = { version = "1.0.136", features = ["derive"] }
|
|
|
|
-serde_json = "1.0.79"
|
|
|
|
-tokio-util = { version = "0.7.0", features = ["full"] }
|
|
|
|
|
|
+serde = { version = "1.0.151", features = ["derive"] }
|
|
|
|
+serde_json = "1.0.91"
|
|
|
|
+tokio-util = { version = "0.7.4", features = ["full"] }
|
|
|
|
|
|
dioxus-html = { path = "../html", features = ["serialize"], version = "^0.2.1" }
|
|
dioxus-html = { path = "../html", features = ["serialize"], version = "^0.2.1" }
|
|
dioxus-core = { path = "../core", features = ["serialize"], version = "^0.2.1" }
|
|
dioxus-core = { path = "../core", features = ["serialize"], version = "^0.2.1" }
|
|
dioxus-interpreter-js = { path = "../interpreter" }
|
|
dioxus-interpreter-js = { path = "../interpreter" }
|
|
|
|
|
|
# warp
|
|
# warp
|
|
-warp = { version = "0.3", optional = true }
|
|
|
|
|
|
+warp = { version = "0.3.3", optional = true }
|
|
|
|
|
|
# axum
|
|
# axum
|
|
-axum = { version = "0.5.1", optional = true, features = ["ws"] }
|
|
|
|
-tower = { version = "0.4.12", optional = true }
|
|
|
|
|
|
+axum = { version = "0.6.1", optional = true, features = ["ws"] }
|
|
|
|
+tower = { version = "0.4.13", optional = true }
|
|
|
|
|
|
# salvo
|
|
# salvo
|
|
-salvo = { version = "0.32.0", optional = true, features = ["ws"] }
|
|
|
|
-thiserror = "1.0.37"
|
|
|
|
|
|
+salvo = { version = "0.37.7", optional = true, features = ["ws"] }
|
|
|
|
+thiserror = "1.0.38"
|
|
uuid = { version = "1.2.2", features = ["v4"] }
|
|
uuid = { version = "1.2.2", features = ["v4"] }
|
|
-anyhow = "1.0.66"
|
|
|
|
|
|
+anyhow = "1.0.68"
|
|
|
|
+
|
|
|
|
+# actix is ... complicated?
|
|
|
|
+# actix-files = { version = "0.6.2", optional = true }
|
|
|
|
+# actix-web = { version = "4.2.1", optional = true }
|
|
|
|
+# actix-ws = { version = "0.2.5", optional = true }
|
|
|
|
|
|
[dev-dependencies]
|
|
[dev-dependencies]
|
|
-tokio = { version = "1", features = ["full"] }
|
|
|
|
|
|
+tokio = { version = "1.23.0", features = ["full"] }
|
|
dioxus = { path = "../dioxus" }
|
|
dioxus = { path = "../dioxus" }
|
|
-warp = "0.3"
|
|
|
|
-axum = { version = "0.5.1", features = ["ws"] }
|
|
|
|
-salvo = { version = "0.32.0", features = ["affix", "ws"] }
|
|
|
|
-tower = "0.4.12"
|
|
|
|
|
|
+warp = "0.3.3"
|
|
|
|
+axum = { version = "0.6.1", features = ["ws"] }
|
|
|
|
+salvo = { version = "0.37.7", features = ["affix", "ws"] }
|
|
|
|
+tower = "0.4.13"
|
|
|
|
|
|
[features]
|
|
[features]
|
|
-default = ["salvo"]
|
|
|
|
|
|
+default = []
|
|
|
|
+# actix = ["actix-files", "actix-web", "actix-ws"]
|
|
|
|
|
|
[[example]]
|
|
[[example]]
|
|
name = "axum"
|
|
name = "axum"
|