mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
start Actix work
This commit is contained in:
parent
db4158f5c3
commit
60efaefff4
3 changed files with 6 additions and 1 deletions
|
@ -20,6 +20,7 @@ leptos = { path = "../../leptos", features = ["nightly"] }
|
|||
leptos_actix = { path = "../../integrations/actix", optional = true }
|
||||
leptos_meta = { path = "../../meta", features = ["nightly"] }
|
||||
leptos_router = { path = "../../router", features = ["nightly"] }
|
||||
server_fn = { path = "../../server_fn", features = ["cbor"] }
|
||||
log = "0.4.17"
|
||||
simple_logger = "4.0.0"
|
||||
gloo = { git = "https://github.com/rustwasm/gloo" }
|
||||
|
|
|
@ -12,9 +12,11 @@ actix-http = "3"
|
|||
actix-web = "4"
|
||||
futures = "0.3"
|
||||
leptos = { workspace = true, features = ["ssr"] }
|
||||
leptos_macro = { workspace = true, features = ["actix"] }
|
||||
leptos_meta = { workspace = true, features = ["ssr"] }
|
||||
leptos_router = { workspace = true, features = ["ssr"] }
|
||||
leptos_integration_utils = { workspace = true }
|
||||
server_fn = { workspace = true, features = ["actix"] }
|
||||
serde_json = "1"
|
||||
parking_lot = "0.12.1"
|
||||
regex = "1.7.0"
|
||||
|
|
|
@ -64,8 +64,10 @@ reqwest = { version = "0.11", default-features = false, optional = true, feature
|
|||
] }
|
||||
|
||||
[features]
|
||||
actix = ["dep:actix-web", "dep:send_wrapper"]
|
||||
default = ["url", "json"]
|
||||
actix = ["ssr", "dep:actix-web", "dep:send_wrapper"]
|
||||
axum = [
|
||||
"ssr",
|
||||
"dep:axum",
|
||||
"dep:hyper",
|
||||
"dep:http-body-util",
|
||||
|
|
Loading…
Reference in a new issue