implement hot reloading for TUI
This commit is contained in:
1 parent
1073574896
commit
6eff4438cf
3 files changed
+68
-7
No files matched your search
@@ -14,7 +14,7 @@ license = "MIT/Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
dioxus = { path = "../dioxus", version = "^0.3.0" }
|
||||
dioxus-core = { path = "../core", version = "^0.3.0" }
|
||||
dioxus-core = { path = "../core", version = "^0.3.0", features = ["serialize"] }
|
||||
dioxus-html = { path = "../html", version = "^0.3.0" }
|
||||
dioxus-native-core = { path = "../native-core", version = "^0.2.0" }
|
||||
dioxus-native-core-macro = { path = "../native-core-macro", version = "^0.2.0" }
|
||||
@@ -29,6 +29,9 @@ smallvec = "1.6"
|
||||
rustc-hash = "1.1.0"
|
||||
anymap = "1.0.0-beta.2"
|
||||
futures-channel = "0.3.25"
|
||||
interprocess = { version = "1.2.1", optional = true }
|
||||
serde = { version = "1.0.136", optional = true }
|
||||
serde_json = { version = "1.0.79", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
dioxus = { path = "../dioxus" }
|
||||
@@ -38,3 +41,7 @@ criterion = "0.3.5"
|
||||
[[bench]]
|
||||
name = "update"
|
||||
harness = false
|
||||
|
||||
[features]
|
||||
default = ["hot-reload"]
|
||||
hot-reload = ["interprocess", "serde", "serde_json"]
|
||||
Reference in new issue
Block a user