2021-12-10 02:19:31 +00:00
|
|
|
[package]
|
|
|
|
name = "dioxus-liveview"
|
2023-08-01 01:49:54 +00:00
|
|
|
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/"
|
2023-09-16 17:03:27 +00:00
|
|
|
homepage = "https://dioxuslabs.com/learn/0.4/getting_started/liveview"
|
2023-01-10 16:16:11 +00:00
|
|
|
keywords = ["dom", "ui", "gui", "react", "liveview"]
|
2022-05-03 04:00:16 +00:00
|
|
|
description = "Build server-side apps with Dioxus"
|
2023-08-01 00:59:36 +00:00
|
|
|
authors = ["Jonathan Kelley", "Evan Almloff"]
|
2023-07-20 17:00:07 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-05-03 04:00:16 +00:00
|
|
|
|
2021-12-10 02:19:31 +00:00
|
|
|
[dependencies]
|
2023-07-11 20:54:24 +00:00
|
|
|
thiserror = { workspace = true }
|
2023-09-06 22:47:33 +00:00
|
|
|
tracing = { workspace = true }
|
2023-06-19 19:29:11 +00:00
|
|
|
slab = { workspace = true }
|
|
|
|
futures-util = { workspace = true, default-features = false, features = [
|
2022-03-12 14:41:10 +00:00
|
|
|
"sink",
|
|
|
|
] }
|
2023-06-19 19:29:11 +00:00
|
|
|
futures-channel = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = ["time", "macros"] }
|
2022-12-19 23:29:20 +00:00
|
|
|
tokio-stream = { version = "0.1.11", features = ["net"] }
|
2023-01-13 16:25:18 +00:00
|
|
|
tokio-util = { version = "0.7.4", features = ["rt"] }
|
2022-12-19 23:29:20 +00:00
|
|
|
serde = { version = "1.0.151", features = ["derive"] }
|
|
|
|
serde_json = "1.0.91"
|
2023-08-28 17:43:21 +00:00
|
|
|
dioxus-html = { workspace = true, features = ["serialize", "eval", "mounted"] }
|
2023-10-09 19:28:12 +00:00
|
|
|
rustc-hash = { workspace = true }
|
2024-02-01 16:10:05 +00:00
|
|
|
minify-js = "0.5.6"
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
2023-10-19 21:40:08 +00:00
|
|
|
dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-hot-reload = { workspace = true, optional = true }
|
2024-01-22 17:56:34 +00:00
|
|
|
dioxus-cli-config = { workspace = true }
|
2024-02-02 20:47:59 +00:00
|
|
|
generational-box = { workspace = true }
|
2022-03-12 14:41:10 +00:00
|
|
|
|
2022-03-15 05:02:44 +00:00
|
|
|
# warp
|
2022-12-19 23:29:20 +00:00
|
|
|
warp = { version = "0.3.3", optional = true }
|
2021-12-10 02:19:31 +00:00
|
|
|
|
2022-04-20 02:51:56 +00:00
|
|
|
# axum
|
2022-12-19 23:29:20 +00:00
|
|
|
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
|
2024-01-22 17:56:34 +00:00
|
|
|
salvo = { version = "0.63.0", optional = true, features = ["websocket", "affix"] }
|
2023-04-25 19:26:12 +00:00
|
|
|
once_cell = "1.17.1"
|
2023-07-21 22:36:25 +00:00
|
|
|
async-trait = "0.1.71"
|
2022-12-19 23:29:20 +00:00
|
|
|
|
2023-12-30 19:49:32 +00:00
|
|
|
# rocket
|
|
|
|
rocket = { version = "0.5.0", optional = true }
|
|
|
|
rocket_ws = { version = "0.1.0", optional = true }
|
|
|
|
|
2022-12-19 23:29:20 +00:00
|
|
|
# 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]
|
2023-05-29 00:20:33 +00:00
|
|
|
pretty_env_logger = { version = "0.5.0" }
|
2023-06-19 19:29:11 +00:00
|
|
|
tokio = { workspace = true, features = ["full"] }
|
2022-12-19 23:29:20 +00:00
|
|
|
warp = "0.3.3"
|
|
|
|
axum = { version = "0.6.1", features = ["ws"] }
|
2023-12-20 21:18:20 +00:00
|
|
|
salvo = { version = "0.63.0", features = ["affix", "websocket"] }
|
2023-12-30 19:49:32 +00:00
|
|
|
rocket = "0.5.0"
|
|
|
|
rocket_ws = "0.1.0"
|
2022-12-19 23:29:20 +00:00
|
|
|
tower = "0.4.13"
|
2024-01-19 22:19:49 +00:00
|
|
|
dioxus = { workspace = true }
|
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"]
|
2022-12-19 23:29:20 +00:00
|
|
|
# actix = ["actix-files", "actix-web", "actix-ws"]
|
2023-01-13 23:50:32 +00:00
|
|
|
hot-reload = ["dioxus-hot-reload"]
|
2023-12-30 19:49:32 +00:00
|
|
|
rocket = ["dep:rocket", "dep:rocket_ws"]
|
2022-12-19 21:11:49 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "axum"
|
|
|
|
required-features = ["axum"]
|
|
|
|
|
2023-10-09 19:28:12 +00:00
|
|
|
[[example]]
|
|
|
|
name = "axum_stress"
|
|
|
|
required-features = ["axum"]
|
|
|
|
|
2022-12-19 21:11:49 +00:00
|
|
|
[[example]]
|
|
|
|
name = "salvo"
|
|
|
|
required-features = ["salvo"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "warp"
|
|
|
|
required-features = ["warp"]
|
2023-12-30 19:49:32 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "rocket"
|
|
|
|
required-features = ["rocket"]
|