Merge pull request #763 from d4h0/liveview-remove-unnecessary-deps-and-features

Remove unnecessary dependencies and dependency features in `Cargo.toml` of `dioxus-liveview`
This commit is contained in:
Jon Kelley authored and GitHub committed 2023-01-13 10:13:48 -08:00
commit 2dd2d7fe66
1 file changed
+4 -9
+4 -9
View File
@@ -13,18 +13,16 @@ 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.23.0", features = ["full"] } thiserror = "1.0.38"
futures-util = { version = "0.3.25", default-features = false, features = [ futures-util = { version = "0.3.25", default-features = false, features = [
"sink", "sink",
] } ] }
futures-channel = { version = "0.3.25", features = ["sink"] } futures-channel = { version = "0.3.25", features = ["sink"] }
pretty_env_logger = "0.4.0" tokio = { version = "1.23.0", features = ["time"] }
tokio-stream = { version = "0.1.11", features = ["net"] } tokio-stream = { version = "0.1.11", features = ["net"] }
tokio-util = { version = "0.7.4", features = ["rt"] }
serde = { version = "1.0.151", features = ["derive"] } serde = { version = "1.0.151", features = ["derive"] }
serde_json = "1.0.91" serde_json = "1.0.91"
tokio-util = { version = "0.7.4", features = ["full"] }
dioxus-html = { path = "../html", features = ["serialize"], version = "^0.3.0" } dioxus-html = { path = "../html", features = ["serialize"], version = "^0.3.0" }
dioxus-core = { path = "../core", features = ["serialize"], version = "^0.3.0" } dioxus-core = { path = "../core", features = ["serialize"], version = "^0.3.0" }
dioxus-interpreter-js = { path = "../interpreter", version = "0.3.0" } dioxus-interpreter-js = { path = "../interpreter", version = "0.3.0" }
@@ -34,13 +32,9 @@ warp = { version = "0.3.3", optional = true }
# axum # axum
axum = { version = "0.6.1", optional = true, features = ["ws"] } axum = { version = "0.6.1", optional = true, features = ["ws"] }
tower = { version = "0.4.13", optional = true }
# salvo # salvo
salvo = { version = "0.37.7", optional = true, features = ["ws"] } salvo = { version = "0.37.7", optional = true, features = ["ws"] }
thiserror = "1.0.38"
uuid = { version = "1.2.2", features = ["v4"] }
anyhow = "1.0.68"
# actix is ... complicated? # actix is ... complicated?
# actix-files = { version = "0.6.2", optional = true } # actix-files = { version = "0.6.2", optional = true }
@@ -48,6 +42,7 @@ anyhow = "1.0.68"
# actix-ws = { version = "0.2.5", optional = true } # actix-ws = { version = "0.2.5", optional = true }
[dev-dependencies] [dev-dependencies]
pretty_env_logger = { version = "0.4.0" }
tokio = { version = "1.23.0", features = ["full"] } tokio = { version = "1.23.0", features = ["full"] }
dioxus = { path = "../dioxus", version = "0.3.0" } dioxus = { path = "../dioxus", version = "0.3.0" }
warp = "0.3.3" warp = "0.3.3"