2023-01-11 19:40:02 +00:00
|
|
|
[package]
|
|
|
|
name = "dioxus-hot-reload"
|
2023-08-01 00:30:18 +00:00
|
|
|
authors = ["Jonathan Kelley", "Evan Almloff"]
|
2023-08-01 01:49:54 +00:00
|
|
|
version = { workspace = true }
|
2023-01-11 19:40:02 +00:00
|
|
|
edition = "2021"
|
2023-07-20 17:00:07 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2023-01-13 22:57:27 +00:00
|
|
|
repository = "https://github.com/DioxusLabs/dioxus/"
|
2023-09-16 17:03:27 +00:00
|
|
|
homepage = "https://dioxuslabs.com/learn/0.4/migration/hot_reload"
|
2023-07-19 17:19:23 +00:00
|
|
|
description = "Hot reloading utilities for Dioxus"
|
2023-02-22 20:55:54 +00:00
|
|
|
keywords = ["dom", "ui", "gui", "react", "hot-reloading"]
|
2023-01-11 19:40:02 +00:00
|
|
|
|
|
|
|
[dependencies]
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
dioxus-rsx = { workspace = true, features = ["serde"] }
|
2023-06-19 19:29:11 +00:00
|
|
|
dioxus-core = { workspace = true, features = ["serialize"] }
|
2023-10-20 17:59:49 +00:00
|
|
|
dioxus-html = { workspace = true, optional = true }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
dioxus-signals = { workspace = true, optional = true }
|
|
|
|
dioxus-cli-config = { workspace = true, optional = true, features = ["read-config"] }
|
2023-01-11 19:40:02 +00:00
|
|
|
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
notify = { workspace = true, optional = true }
|
2023-07-19 17:19:23 +00:00
|
|
|
chrono = { version = "0.4.24", default-features = false, features = ["clock"], optional = true }
|
2023-01-11 19:40:02 +00:00
|
|
|
serde_json = "1.0.91"
|
2023-01-13 22:13:07 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2023-07-19 17:19:23 +00:00
|
|
|
execute = { version = "0.2.11", optional = true }
|
|
|
|
once_cell = { version = "1.17.0", optional = true }
|
|
|
|
ignore = { version = "0.4.19", optional = true }
|
|
|
|
|
2024-05-22 12:24:15 +00:00
|
|
|
# hot reloading serve
|
|
|
|
tokio-stream = { version = "0.1.12", features = ["sync"], optional = true }
|
|
|
|
futures-util = { workspace = true, features = ["async-await-macro"], optional = true }
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
tokio = { workspace = true, features = ["sync", "rt-multi-thread"], optional = true }
|
|
|
|
tracing = { 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"] }
|
2024-05-22 12:24:15 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
|
|
|
|
2023-07-19 17:19:23 +00:00
|
|
|
[features]
|
2024-07-02 03:50:36 +00:00
|
|
|
default = ["dioxus-html"]
|
Hotreloading of `for/if/body`, formatted strings, literals, component props, nested rsx, light CLI rewrite, cli TUI (#2258)
Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx!
Add a TUI renderer to the CLI.
Improve the CLI build system to be async and parallel.
Refactor RSX to allow partial expansion of expressions.
Merge autofmt implementations for consistency.
Merge the representation of elements and components under the hood.
Add a diagnostics system for rsx for improved error messages.
Drop interprocess and move to websockets for communication between the CLI and the server.
Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts.
Add hotreloading to any body of component/for loop/if chain/etc.
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
2024-07-18 02:11:18 +00:00
|
|
|
client = ["dep:dioxus-signals"]
|
|
|
|
serve = ["dep:tokio-stream", "dep:futures-util", "dep:tokio", "dep:tokio-tungstenite", "dep:dioxus-cli-config"]
|
2024-05-28 20:05:55 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|