12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- [package]
- name = "dioxus-hot-reload"
- authors = ["Jonathan Kelley", "Evan Almloff"]
- version = { workspace = true }
- edition = "2021"
- license = "MIT OR Apache-2.0"
- repository = "https://github.com/DioxusLabs/dioxus/"
- homepage = "https://dioxuslabs.com/learn/0.4/migration/hot_reload"
- description = "Hot reloading utilities for Dioxus"
- keywords = ["dom", "ui", "gui", "react", "hot-reloading"]
- [dependencies]
- dioxus-rsx = { workspace = true }
- dioxus-rsx-hotreload = { workspace = true }
- dioxus-core = { workspace = true, features = ["serialize"] }
- dioxus-html = { workspace = true, optional = true }
- dioxus-signals = { workspace = true, optional = true }
- dioxus-cli-config = { workspace = true, optional = true, features = ["read-config"] }
- notify = { workspace = true, optional = true }
- chrono = { version = "0.4.24", default-features = false, features = ["clock"], optional = true }
- serde_json = "1.0.91"
- serde = { version = "1", features = ["derive"] }
- execute = { version = "0.2.11", optional = true }
- once_cell = { version = "1.17.0", optional = true }
- ignore = { version = "0.4.19", optional = true }
- # hot reloading serve
- tokio-stream = { version = "0.1.12", features = ["sync"], optional = true }
- futures-util = { workspace = true, features = ["async-await-macro"], optional = true }
- tokio = { workspace = true, features = ["sync", "rt-multi-thread"], optional = true }
- tracing = { workspace = true }
- warnings.workspace = true
- # use rustls on android
- [target.'cfg(target_os = "android")'.dependencies]
- tokio-tungstenite = { workspace = true, optional = true, features = ["rustls"] }
- # use native tls on other platforms
- [target.'cfg(not(target_os = "android"))'.dependencies]
- tokio-tungstenite = { workspace = true, optional = true, features = ["native-tls"] }
- [dev-dependencies]
- tokio = { workspace = true, features = ["full"] }
- [features]
- default = ["dioxus-html"]
- client = ["dep:dioxus-signals"]
- serve = ["dep:tokio-stream", "dep:futures-util", "dep:tokio", "dep:tokio-tungstenite", "dep:dioxus-cli-config"]
- [package.metadata.docs.rs]
- cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|