Remove native and web features from dioxus-html (#3006)

* remove native and web features from dioxus-html

* Fix downcasting web events

* Fix desktop with tokio disabled
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-10-10 13:35:59 -07:00
1 parent 677e0e7f4f
commit cda8bb24f1
54 files changed
+1768 -1512

No files matched your search

+4 -1
View File
@@ -13,8 +13,8 @@ keywords = ["dom", "ui", "gui", "react"]
dioxus-core = { workspace = true, features = ["serialize"] }
dioxus-html = { workspace = true, features = [
"serialize",
"native-bind",
"mounted",
"file_engine",
"document",
] }
dioxus-signals = { workspace = true, optional = true }
@@ -88,6 +88,9 @@ cocoa = "0.25"
core-foundation = "0.9.3"
objc = "0.2.7"
[build-dependencies]
lazy-js-bundle = { workspace = true }
[features]
default = ["tokio_runtime", "wry/objc-exception", "devtools"]
tokio_runtime = ["dep:tokio"]