dioxus/packages/liveview/Cargo.toml

71 lines
2.1 KiB
TOML
Raw Normal View History

2021-12-10 02:19:31 +00:00
[package]
name = "dioxus-liveview"
version = { workspace = true }
2021-12-10 02:19:31 +00:00
edition = "2021"
2021-12-15 21:04:27 +00:00
repository = "https://github.com/DioxusLabs/dioxus/"
homepage = "https://dioxuslabs.com/docs/0.3/guide/en/getting_started/liveview.html"
keywords = ["dom", "ui", "gui", "react", "liveview"]
2022-05-03 04:00:16 +00:00
description = "Build server-side apps with Dioxus"
authors = ["Jonathan Kelley", "Evan Almloff"]
license = "MIT OR Apache-2.0"
2022-05-03 04:00:16 +00:00
2021-12-10 02:19:31 +00:00
[dependencies]
thiserror = { workspace = true }
2023-06-19 19:29:11 +00:00
log = { workspace = true }
slab = { workspace = true }
futures-util = { workspace = true, default-features = false, features = [
"sink",
] }
2023-06-19 19:29:11 +00:00
futures-channel = { workspace = true }
tokio = { workspace = true, features = ["time", "macros"] }
tokio-stream = { version = "0.1.11", features = ["net"] }
2023-01-13 16:25:18 +00:00
tokio-util = { version = "0.7.4", features = ["rt"] }
serde = { version = "1.0.151", features = ["derive"] }
serde_json = "1.0.91"
2023-06-19 19:29:11 +00:00
dioxus-html = { workspace = true, features = ["serialize"] }
dioxus-core = { workspace = true, features = ["serialize"] }
dioxus-interpreter-js = { workspace = true }
dioxus-hot-reload = { workspace = true, optional = true }
2022-03-15 05:02:44 +00:00
# warp
warp = { version = "0.3.3", optional = true }
2021-12-10 02:19:31 +00:00
2022-04-20 02:51:56 +00:00
# axum
axum = { version = "0.6.1", optional = true, features = ["ws"] }
2022-04-20 02:51:56 +00:00
2022-09-13 21:24:30 +00:00
# salvo
salvo = { version = "0.44.1", optional = true, features = ["ws"] }
2023-04-25 19:26:12 +00:00
once_cell = "1.17.1"
async-trait = "0.1.71"
# 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-13 21:24:30 +00:00
2022-04-17 15:59:43 +00:00
[dev-dependencies]
pretty_env_logger = { version = "0.5.0" }
2023-06-19 19:29:11 +00:00
tokio = { workspace = true, features = ["full"] }
dioxus = { workspace = true }
warp = "0.3.3"
axum = { version = "0.6.1", features = ["ws"] }
salvo = { version = "0.44.1", features = ["affix", "ws"] }
tower = "0.4.13"
2022-04-17 15:59:43 +00:00
2021-12-10 02:19:31 +00:00
[features]
2023-01-11 20:41:29 +00:00
default = ["hot-reload"]
# actix = ["actix-files", "actix-web", "actix-ws"]
2023-01-13 23:50:32 +00:00
hot-reload = ["dioxus-hot-reload"]
[[example]]
name = "axum"
required-features = ["axum"]
[[example]]
name = "salvo"
required-features = ["salvo"]
[[example]]
name = "warp"
required-features = ["warp"]