mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-26 14:10:20 +00:00
cab573eefd
* add prevent default methods to the event * sync prevent default almost working * sync prevent default working * Move event handling into the runtime * update core tests * restore desktop file dialog * implement prevent default on web * add a hint about the new prevent default method * fix web prevent default * Fix CTRL+click on links * fix values memorize in place test * Fix a few more tests * Add a playwright test for sync prevent default * Fix core doc tests * create a deprecated VirtualDom::handle_event * fix macos imports in desktop * Fix onmounted event * Fix liveview support * switch to RefCell for metadata * Remove println * remove prevent default attribute * remove web specific link behavior * Fix liveview links * more liveview fixes for link * Fix merge conflicts * Fix clippy * use the new prevent default in the file upload example
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", "document", "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, features = ["serve", "client"] }
|
|
dioxus-cli-config = { workspace = true, features = ["read-config", "read-from-args"] }
|
|
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 = ["dep:dioxus-hot-reload"]
|
|
|
|
[[example]]
|
|
name = "axum"
|
|
required-features = ["axum"]
|
|
doc-scrape-examples = true
|
|
|
|
[[example]]
|
|
name = "axum_stress"
|
|
required-features = ["axum"]
|
|
doc-scrape-examples = true
|