dioxus/packages/liveview/Cargo.toml

73 lines
2.2 KiB
TOML
Raw Normal View History

2021-12-09 21:19:31 -05:00
[package]
name = "dioxus-liveview"
2023-06-08 15:08:40 +00:00
version = "0.3.1"
2021-12-09 21:19:31 -05:00
edition = "2021"
2021-12-15 16:04:27 -05:00
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com"
documentation = "https://dioxuslabs.com"
keywords = ["dom", "ui", "gui", "react", "liveview"]
2022-05-03 00:00:16 -04:00
description = "Build server-side apps with Dioxus"
license = "MIT/Apache-2.0"
2022-03-15 01:02:44 -04:00
2021-12-09 21:19:31 -05:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2023-01-13 17:25:18 +01:00
thiserror = "1.0.38"
2023-03-23 16:52:29 -05:00
log = "0.4.14"
slab = "0.4"
futures-util = { version = "0.3.25", default-features = false, features = [
"sink",
] }
futures-channel = { version = "0.3.25", features = ["sink"] }
2023-04-25 15:08:53 -05:00
tokio = { version = "1.22.0", features = ["time", "macros"] }
tokio-stream = { version = "0.1.11", features = ["net"] }
2023-01-13 17:25:18 +01:00
tokio-util = { version = "0.7.4", features = ["rt"] }
serde = { version = "1.0.151", features = ["derive"] }
serde_json = "1.0.91"
dioxus-html = { path = "../html", 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" }
2023-01-13 17:50:32 -06:00
dioxus-hot-reload = { path = "../hot-reload", optional = true }
2022-03-15 01:02:44 -04:00
# warp
warp = { version = "0.3.3", optional = true }
2021-12-09 21:19:31 -05:00
2022-04-19 22:51:56 -04:00
# axum
axum = { version = "0.6.1", optional = true, features = ["ws"] }
2022-04-19 22:51:56 -04:00
2022-09-14 05:24:30 +08:00
# salvo
salvo = { version = "0.37.7", optional = true, features = ["ws"] }
2023-04-25 14:26:12 -05:00
once_cell = "1.17.1"
# 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 }
2022-09-14 05:24:30 +08:00
2022-04-17 11:59:43 -04:00
[dev-dependencies]
pretty_env_logger = { version = "0.5.0" }
tokio = { version = "1.22.0", features = ["full"] }
dioxus = { path = "../dioxus", version = "0.3.0" }
warp = "0.3.3"
axum = { version = "0.6.1", features = ["ws"] }
salvo = { version = "0.37.7", features = ["affix", "ws"] }
tower = "0.4.13"
2022-04-17 11:59:43 -04:00
2021-12-09 21:19:31 -05:00
[features]
2023-01-11 14:41:29 -06:00
default = ["hot-reload"]
# actix = ["actix-files", "actix-web", "actix-ws"]
2023-01-13 17:50:32 -06:00
hot-reload = ["dioxus-hot-reload"]
[[example]]
name = "axum"
required-features = ["axum"]
[[example]]
name = "salvo"
required-features = ["salvo"]
[[example]]
name = "warp"
required-features = ["warp"]