2023-03-28 18:35:17 +00:00
|
|
|
[package]
|
2023-03-30 15:34:13 +00:00
|
|
|
name = "dioxus-server"
|
2023-03-28 18:35:17 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
server_fn = { version = "0.2.4", features = ["stable"] }
|
2023-03-30 15:38:32 +00:00
|
|
|
server_macro = { path = "server-macro" }
|
2023-03-28 18:35:17 +00:00
|
|
|
|
|
|
|
# warp
|
|
|
|
warp = { version = "0.3.3", optional = true }
|
|
|
|
|
|
|
|
# axum
|
2023-03-31 00:42:46 +00:00
|
|
|
axum = { version = "0.6.1", optional = true }
|
2023-03-30 15:34:13 +00:00
|
|
|
tower-http = { version = "0.4.0", optional = true, features = ["fs"] }
|
|
|
|
hyper = { version = "0.14.25", optional = true }
|
2023-03-28 18:35:17 +00:00
|
|
|
|
|
|
|
# salvo
|
2023-03-31 00:42:46 +00:00
|
|
|
salvo = { version = "0.37.7", optional = true, features = ["serve-static"] }
|
2023-03-28 18:35:17 +00:00
|
|
|
serde = "1.0.159"
|
|
|
|
|
2023-03-30 15:34:13 +00:00
|
|
|
dioxus-core = { path = "../core", version = "^0.3.0" }
|
|
|
|
dioxus-ssr = { path = "../ssr", version = "^0.3.0", optional = true }
|
2023-03-30 01:20:26 +00:00
|
|
|
|
|
|
|
log = "0.4.17"
|
|
|
|
once_cell = "1.17.1"
|
|
|
|
thiserror = "1.0.40"
|
2023-03-30 15:34:13 +00:00
|
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
2023-03-30 01:20:26 +00:00
|
|
|
|
|
|
|
[features]
|
2023-03-30 15:34:13 +00:00
|
|
|
default = []
|
2023-03-30 01:20:26 +00:00
|
|
|
warp = ["dep:warp"]
|
2023-03-30 15:34:13 +00:00
|
|
|
axum = ["dep:axum", "tower-http", "hyper"]
|
2023-03-31 00:42:46 +00:00
|
|
|
salvo = ["dep:salvo", "hyper"]
|
2023-03-30 15:34:13 +00:00
|
|
|
ssr = ["server_fn/ssr", "tokio", "dioxus-ssr"]
|