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

+4 -1
View File
@@ -15,7 +15,10 @@ thiserror = { workspace = true }
wasm-bindgen-cli-support = "0.2"
wasm-bindgen-shared = "0.2"
colored = "2.0.0"
dioxus-cli-config = { workspace = true, features = ["cli"] }
dioxus-cli-config = { workspace = true, features = ["cli"], default-features = false }
# features
log = "0.4.14"
fern = { version = "0.6.0", features = ["colored"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"