mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-03 17:39:11 +00:00
57 lines
1.9 KiB
TOML
57 lines
1.9 KiB
TOML
[package]
|
|
name = "dioxus-liveview"
|
|
version = { workspace = true }
|
|
edition = "2021"
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
|
homepage = "https://dioxuslabs.com/learn/0.5/getting_started"
|
|
keywords = ["dom", "ui", "gui", "react", "liveview"]
|
|
description = "Build server-side apps with Dioxus"
|
|
authors = ["Jonathan Kelley", "Evan Almloff"]
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[dependencies]
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
slab = { workspace = true }
|
|
futures-util = { workspace = true, default-features = false, features = [
|
|
"sink",
|
|
] }
|
|
futures-channel = { workspace = true }
|
|
tokio = { workspace = true, features = ["time", "macros"] }
|
|
tokio-stream = { version = "0.1.11", features = ["net"] }
|
|
tokio-util = { version = "0.7.4", features = ["rt"] }
|
|
serde = { version = "1.0.151", features = ["derive"] }
|
|
serde_json = "1.0.91"
|
|
dioxus-html = { workspace = true, features = ["serialize", "eval", "mounted"] }
|
|
rustc-hash = { workspace = true }
|
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
|
dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
|
|
dioxus-hot-reload = { workspace = true, optional = true }
|
|
dioxus-cli-config = { workspace = true, features = ["read-config"] }
|
|
generational-box = { workspace = true }
|
|
|
|
# axum
|
|
axum = { workspace = true, optional = true, features = ["ws"] }
|
|
|
|
[dev-dependencies]
|
|
pretty_env_logger = { version = "0.5.0" }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
axum = { workspace = true, features = ["ws"] }
|
|
tower = { workspace = true }
|
|
dioxus = { workspace = true }
|
|
|
|
[features]
|
|
default = ["hot-reload", "multi-thread"]
|
|
axum = ["dep:axum"]
|
|
multi-thread = ["tokio/rt-multi-thread"]
|
|
hot-reload = ["dioxus-hot-reload"]
|
|
|
|
[[example]]
|
|
name = "axum"
|
|
required-features = ["axum"]
|
|
doc-scrape-examples = true
|
|
|
|
[[example]]
|
|
name = "axum_stress"
|
|
required-features = ["axum"]
|
|
doc-scrape-examples = true
|