mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
switch to server instead of ssr everywhere
This commit is contained in:
parent
60d34b4393
commit
e767e49d5e
11 changed files with 245 additions and 193 deletions
412
Cargo.lock
generated
412
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -47,7 +47,7 @@ fullstack = ["dioxus-fullstack", "dioxus-config-macro/fullstack", "serde", "diox
|
||||||
desktop = ["dioxus-desktop", "dioxus-fullstack?/desktop", "dioxus-config-macro/desktop"]
|
desktop = ["dioxus-desktop", "dioxus-fullstack?/desktop", "dioxus-config-macro/desktop"]
|
||||||
mobile = ["dioxus-mobile", "dioxus-fullstack?/mobile", "dioxus-config-macro/mobile"]
|
mobile = ["dioxus-mobile", "dioxus-fullstack?/mobile", "dioxus-config-macro/mobile"]
|
||||||
web = ["dioxus-web", "dioxus-fullstack?/web", "dioxus-config-macro/web", "dioxus-router?/web"]
|
web = ["dioxus-web", "dioxus-fullstack?/web", "dioxus-config-macro/web", "dioxus-router?/web"]
|
||||||
server = ["dioxus-fullstack?/ssr", "dioxus-config-macro/ssr", "dioxus-router?/ssr"]
|
server = ["dioxus-fullstack?/server", "dioxus-config-macro/ssr", "dioxus-router?/ssr"]
|
||||||
ssr = ["dioxus-ssr"]
|
ssr = ["dioxus-ssr"]
|
||||||
liveview = ["dioxus-liveview", "dioxus-config-macro/liveview", "dioxus-router?/liveview"]
|
liveview = ["dioxus-liveview", "dioxus-config-macro/liveview", "dioxus-router?/liveview"]
|
||||||
axum = ["dioxus-fullstack?/axum", "dioxus-liveview?/axum"]
|
axum = ["dioxus-fullstack?/axum", "dioxus-liveview?/axum"]
|
||||||
|
|
|
@ -75,9 +75,9 @@ hot-reload = ["serde_json", "futures-util"]
|
||||||
web = ["dioxus-web", "web-sys"]
|
web = ["dioxus-web", "web-sys"]
|
||||||
desktop = ["dioxus-desktop"]
|
desktop = ["dioxus-desktop"]
|
||||||
mobile = ["dioxus-mobile"]
|
mobile = ["dioxus-mobile"]
|
||||||
warp = ["dep:warp", "ssr"]
|
warp = ["dep:warp", "server"]
|
||||||
axum = ["dep:axum", "tower-http", "ssr"]
|
axum = ["dep:axum", "tower-http", "server"]
|
||||||
salvo = ["dep:salvo", "ssr", "http-body-util"]
|
salvo = ["dep:salvo", "server", "http-body-util"]
|
||||||
ssr = ["server_fn/ssr", "dioxus_server_macro/ssr", "tokio", "tokio-util", "tokio-stream", "dioxus-ssr", "dioxus-ssr/incremental", "tower", "hyper", "http", "tower-layer", "anymap", "tracing-futures", "pin-project", "thiserror", "dioxus-cli-config"]
|
server = ["server_fn/ssr", "dioxus_server_macro/ssr", "tokio", "tokio-util", "tokio-stream", "dioxus-ssr", "dioxus-ssr/incremental", "tower", "hyper", "http", "tower-layer", "anymap", "tracing-futures", "pin-project", "thiserror", "dioxus-cli-config"]
|
||||||
default-tls = ["server_fn/default-tls"]
|
default-tls = ["server_fn/default-tls"]
|
||||||
rustls = ["server_fn/rustls"]
|
rustls = ["server_fn/rustls"]
|
||||||
|
|
|
@ -42,5 +42,5 @@ optional = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
ssr = ["axum", "tokio", "dioxus-fullstack/axum", "tower-http", "simple_logger", "async-trait", "sqlx", "axum_session", "axum_session_auth", "http", "tower"]
|
server = ["axum", "tokio", "dioxus-fullstack/axum", "tower-http", "simple_logger", "async-trait", "sqlx", "axum_session", "axum_session_auth", "http", "tower"]
|
||||||
web = ["dioxus-web"]
|
web = ["dioxus-web"]
|
||||||
|
|
|
@ -14,7 +14,7 @@ serde = "1.0.159"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
ssr = ["axum", "tokio", "dioxus/axum"]
|
server = ["axum", "tokio", "dioxus/axum"]
|
||||||
desktop = ["dioxus/desktop"]
|
desktop = ["dioxus/desktop"]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -14,5 +14,5 @@ serde = { version = "1.0.159", features = ["derive"] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
ssr = ["axum", "dioxus/axum"]
|
server = ["axum", "dioxus/axum"]
|
||||||
web = ["dioxus/web"]
|
web = ["dioxus/web"]
|
||||||
|
|
|
@ -21,5 +21,5 @@ tracing-subscriber = "0.3.17"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
ssr = ["salvo", "dioxus-fullstack/salvo"]
|
server = ["salvo", "dioxus-fullstack/salvo"]
|
||||||
web = ["dioxus-web"]
|
web = ["dioxus-web"]
|
||||||
|
|
|
@ -16,5 +16,5 @@ serde = "1.0.159"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
ssr = ["tokio", "dioxus-fullstack/ssr"]
|
server = ["tokio", "dioxus-fullstack/server"]
|
||||||
web = ["dioxus-web"]
|
web = ["dioxus-web"]
|
||||||
|
|
|
@ -16,5 +16,5 @@ reqwest = "0.11.18"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
ssr = ["dioxus/warp"]
|
server = ["dioxus/warp"]
|
||||||
web = ["dioxus/web"]
|
web = ["dioxus/web"]
|
||||||
|
|
|
@ -15,5 +15,5 @@ execute = "0.2.12"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
ssr = ["axum", "tokio", "dioxus/axum"]
|
server = ["axum", "tokio", "dioxus/axum"]
|
||||||
web = ["dioxus/web"]
|
web = ["dioxus/web"]
|
||||||
|
|
|
@ -32,7 +32,7 @@ dioxus-cli-config = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
ssr = ["dioxus-ssr/incremental", "tokio", "dioxus-fullstack?/ssr"]
|
ssr = ["dioxus-ssr/incremental", "tokio", "dioxus-fullstack?/server"]
|
||||||
liveview = ["dioxus-liveview", "tokio", "dep:serde", "serde_json"]
|
liveview = ["dioxus-liveview", "tokio", "dep:serde", "serde_json"]
|
||||||
wasm_test = []
|
wasm_test = []
|
||||||
serde = ["dep:serde", "gloo-utils?/serde"]
|
serde = ["dep:serde", "gloo-utils?/serde"]
|
||||||
|
|
Loading…
Reference in a new issue