Warn if cli-config is not available at compile time (#2135)

* warn if a package relies on the CLI config, but it is not built with the CLI

* fix default features

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Evan AlmloffandJonathan Kelley authored and GitHub committed 2024-03-26 19:10:26 -07:00
1 parent 1b03bed20a
commit 460a685fa3
9 files changed
+24 -7

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ dioxus-liveview = { workspace = true, optional = true }
dioxus-ssr = { workspace = true, optional = true }
dioxus-fullstack = { workspace = true, optional = true }
tokio = { workspace = true, features = ["full"], optional = true }
dioxus-cli-config = { workspace = true }
dioxus-cli-config = { workspace = true, features = ["read-config"] }
[features]
default = []