move into feature

This commit is contained in:
Evan Almloff committed 2022-06-09 11:58:09 -05:00
1 parent 61e9f56816
commit f19958d766
3 files changed
+100 -71

No files matched your search

+6 -4
View File
@@ -46,10 +46,12 @@ flate2 = "1.0.22"
tar = "0.4.38"
tower = "0.4.12"
# hot reload
syn = "1.0"
dioxus-rsx-interpreter = { path = "../dioxus/packages/rsx_interpreter" }
proc-macro2 = { version = "1.0", features = ["span-locations"] }
syn = { version = "1.0", optional = true }
dioxus-rsx-interpreter = { path = "../dioxus/packages/rsx_interpreter", optional = true }
proc-macro2 = { version = "1.0", features = ["span-locations"], optional = true }
[features]
hot_reload = ["dioxus-rsx-interpreter", "proc-macro2", "syn"]
[[bin]]
path = "src/main.rs"