Simplify cli-config, hotreload -> devtools (drop to 0 deps, fast compile times) (#2975)
* simplify cli-config crate * clean up configs * add devtools crate, update cargo imports * fix serve addr, fix websocket proxy issue * add comment about opt profiles * rename hot-reload to devtools
This commit is contained in:
1 parent
8203ee571f
commit
3fb1f739d1
58 files changed
+1131
-1654
No files matched your search
@@ -26,8 +26,8 @@ dioxus-html = { workspace = true, features = ["serialize", "document", "mounted"
|
||||
rustc-hash = { workspace = true }
|
||||
dioxus-core = { workspace = true, features = ["serialize"] }
|
||||
dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
|
||||
dioxus-hot-reload = { workspace = true, optional = true, features = ["serve", "client"] }
|
||||
dioxus-cli-config = { workspace = true, features = ["read-config", "read-from-args"] }
|
||||
dioxus-devtools = { workspace = true, optional = true }
|
||||
dioxus-cli-config = { workspace = true }
|
||||
generational-box = { workspace = true }
|
||||
|
||||
# axum
|
||||
@@ -41,10 +41,10 @@ tower = { workspace = true }
|
||||
dioxus = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["hot-reload", "multi-thread"]
|
||||
default = ["devtools", "multi-thread"]
|
||||
axum = ["dep:axum"]
|
||||
multi-thread = ["tokio/rt-multi-thread"]
|
||||
hot-reload = ["dep:dioxus-hot-reload"]
|
||||
devtools = ["dep:dioxus-devtools"]
|
||||
|
||||
[[example]]
|
||||
name = "axum"
|
||||
|
||||
Reference in new issue
Block a user