dioxus/packages/liveview/Cargo.toml

56 lines
1.8 KiB
TOML
Raw Normal View History

2021-12-09 21:19:31 -05:00
[package]
name = "dioxus-liveview"
version = { workspace = true }
2021-12-09 21:19:31 -05:00
edition = "2021"
2021-12-15 16:04:27 -05:00
repository = "https://github.com/DioxusLabs/dioxus/"
2023-09-16 19:03:27 +02:00
homepage = "https://dioxuslabs.com/learn/0.4/getting_started/liveview"
keywords = ["dom", "ui", "gui", "react", "liveview"]
2022-05-03 00:00:16 -04:00
description = "Build server-side apps with Dioxus"
authors = ["Jonathan Kelley", "Evan Almloff"]
license = "MIT OR Apache-2.0"
2022-05-03 00:00:16 -04:00
2021-12-09 21:19:31 -05:00
[dependencies]
thiserror = { workspace = true }
2023-09-06 17:47:33 -05:00
tracing = { workspace = true }
2023-06-19 14:29:11 -05:00
slab = { workspace = true }
futures-util = { workspace = true, default-features = false, features = [
"sink",
] }
2023-06-19 14:29:11 -05:00
futures-channel = { workspace = true }
tokio = { workspace = true, 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"
2023-08-28 12:43:21 -05:00
dioxus-html = { workspace = true, features = ["serialize", "eval", "mounted"] }
2023-10-09 14:28:12 -05:00
rustc-hash = { workspace = true }
2023-06-19 14:29:11 -05:00
dioxus-core = { workspace = true, features = ["serialize"] }
2023-10-19 16:40:08 -05:00
dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
2023-06-19 14:29:11 -05:00
dioxus-hot-reload = { workspace = true, optional = true }
dioxus-cli-config = { workspace = true, features = ["read-config"] }
2024-02-02 14:47:59 -06:00
generational-box = { workspace = true }
2022-04-19 22:51:56 -04:00
# axum
axum = { workspace = true, optional = true, features = ["ws"] }
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" }
2023-06-19 14:29:11 -05:00
tokio = { workspace = true, features = ["full"] }
axum = { workspace = true, features = ["ws"] }
tower = { workspace = true }
dioxus = { workspace = true }
2022-04-17 11:59:43 -04:00
2021-12-09 21:19:31 -05:00
[features]
2024-03-13 13:42:22 -05:00
default = ["hot-reload", "multi-thread"]
2024-02-16 12:17:01 -06:00
axum = ["dep:axum"]
2024-03-13 13:42:22 -05:00
multi-thread = ["tokio/rt-multi-thread"]
2023-01-13 17:50:32 -06:00
hot-reload = ["dioxus-hot-reload"]
[[example]]
name = "axum"
required-features = ["axum"]
2023-10-09 14:28:12 -05:00
[[example]]
name = "axum_stress"
required-features = ["axum"]