Remove implicit optional dependency features (#2512)

* remove implicit optional dependency features

* switch to new features in desktop, router and signals crates
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-06-18 18:39:15 -05:00
1 parent b0ae9be9c8
commit a09548d80e
24 files changed
+84 -85

No files matched your search

+3 -3
View File
@@ -34,10 +34,10 @@ tracing.workspace = true
tokio = { workspace = true, features = ["full"] }
[features]
default = ["dioxus-html"]
custom_file_watcher = ["ignore", "chrono", "notify", "execute", "once_cell", "ignore"]
default = ["dep:dioxus-html"]
custom_file_watcher = ["dep:ignore", "dep:chrono", "dep:notify", "dep:execute", "dep:once_cell", "dep:ignore"]
file_watcher = ["custom_file_watcher", "dioxus-html/hot-reload-context"]
serve = ["axum", "tokio-stream", "futures-util", "tokio", "file_watcher"]
serve = ["dep:axum", "dep:tokio-stream", "dep:futures-util", "dep:tokio", "file_watcher"]
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]