12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- [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-core = { workspace = true, features = ["serialize"] }
- dioxus-html = { workspace = true, optional = true }
- interprocess = { workspace = true }
- notify = { version = "5.0.0", 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
- axum = { workspace = true, features = ["ws"], optional = true }
- 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"], optional = true }
- tracing.workspace = true
- [dev-dependencies]
- tokio = { workspace = true, features = ["full"] }
- [features]
- default = ["dioxus-html"]
- custom_file_watcher = ["dep:ignore", "dep:chrono", "dep:notify", "dep:execute", "dep:once_cell", "dep:ignore"]
- file_watcher = ["custom_file_watcher", "dioxus-html/hot-reload-context", "dioxus-rsx/hot_reload"]
- serve = ["dep:axum", "dep:tokio-stream", "dep:futures-util", "dep:tokio", "file_watcher"]
- [package.metadata.docs.rs]
- cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|