codify "platform" into resolution logic, server-fn/fullstack overhaul (#4596)
overhaul dioxus fullstack using a new implementation of server_fn This PR is a complete rewrite of dioxus fullstack designed to improve compatibility with axum and to fix a number of compilation errors based on feature flag unification plumbing through macros.
This commit is contained in:
1 parent
8421c3aef0
commit
f2b1c6d97f
424 files changed
+17284
-6624
No files matched your search
+11
-13
@@ -22,8 +22,7 @@ dioxus-interpreter-js = { workspace = true, features = [
|
||||
"minimal_bindings",
|
||||
"webonly",
|
||||
] }
|
||||
dioxus-fullstack-protocol = { workspace = true, features = ["web"], optional = true }
|
||||
dioxus-fullstack-hooks = { workspace = true, features = ["web"], optional = true }
|
||||
dioxus-fullstack-core = { workspace = true, features = ["web"], optional = true }
|
||||
generational-box = { workspace = true }
|
||||
|
||||
js-sys = { workspace = true }
|
||||
@@ -38,8 +37,9 @@ serde = { version = "1.0", optional = true }
|
||||
serde-wasm-bindgen = { version = "0.6.5", optional = true }
|
||||
|
||||
ciborium = { workspace = true, optional = true }
|
||||
async-trait = { workspace = true, optional = true }
|
||||
gloo-timers = { workspace = true, optional = true, features = ["futures"] }
|
||||
send_wrapper = { workspace = true, features = ["futures"] }
|
||||
wasm-streams = "0.4.2"
|
||||
|
||||
[dependencies.web-sys]
|
||||
version = "0.3.77"
|
||||
@@ -52,6 +52,8 @@ features = [
|
||||
"console",
|
||||
"CustomEvent",
|
||||
"DataTransfer",
|
||||
"DataTransferItemList",
|
||||
"DataTransferItem",
|
||||
"Document",
|
||||
"DomRectReadOnly",
|
||||
"DragEvent",
|
||||
@@ -80,17 +82,20 @@ features = [
|
||||
"TransitionEvent",
|
||||
"WheelEvent",
|
||||
"Window",
|
||||
"File",
|
||||
"FileList",
|
||||
"FileReader",
|
||||
"ReadableStream"
|
||||
]
|
||||
|
||||
[build-dependencies]
|
||||
lazy-js-bundle = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["mounted", "file_engine", "devtools", "document"]
|
||||
hydrate = ["web-sys/Comment", "dep:serde", "dep:dioxus-fullstack-protocol", "dep:dioxus-fullstack-hooks"]
|
||||
default = ["mounted", "devtools", "document"]
|
||||
hydrate = ["web-sys/Comment", "dep:serde", "dep:dioxus-fullstack-core"]
|
||||
mounted = [
|
||||
"web-sys/Element",
|
||||
"dioxus-html/mounted",
|
||||
"web-sys/Element",
|
||||
"web-sys/DomRect",
|
||||
"web-sys/ScrollIntoViewOptions",
|
||||
@@ -98,13 +103,6 @@ mounted = [
|
||||
"web-sys/ScrollBehavior",
|
||||
"web-sys/HtmlElement",
|
||||
]
|
||||
file_engine = [
|
||||
"dioxus-html/file_engine",
|
||||
"dep:async-trait",
|
||||
"web-sys/File",
|
||||
"web-sys/FileList",
|
||||
"web-sys/FileReader"
|
||||
]
|
||||
devtools = [
|
||||
"web-sys/MessageEvent",
|
||||
"web-sys/WebSocket",
|
||||
|
||||
Reference in new issue
Block a user