use cli flag instead of feature flag

This commit is contained in:
Evan Almloff committed 2022-06-14 09:47:16 -05:00
1 parent 712d258496
commit fb7ea5915b
6 files changed
+34 -18

No files matched your search

+3 -5
View File
@@ -46,12 +46,10 @@ flate2 = "1.0.22"
tar = "0.4.38"
tower = "0.4.12"
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 }
syn = { version = "1.0" }
dioxus-rsx-interpreter = { path = "../dioxus/packages/rsx_interpreter" }
proc-macro2 = { version = "1.0", features = ["span-locations"] }
[features]
hot_reload = ["dioxus-rsx-interpreter", "proc-macro2", "syn"]
[[bin]]
path = "src/main.rs"