2023-03-30 15:34:13 +00:00
|
|
|
[package]
|
2023-03-31 00:42:53 +00:00
|
|
|
name = "axum-hello-world"
|
2023-03-30 15:34:13 +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]
|
|
|
|
dioxus-web = { path = "../../../web", features=["hydrate"], optional = true }
|
|
|
|
dioxus = { path = "../../../dioxus" }
|
2023-03-31 20:33:44 +00:00
|
|
|
dioxus-router = { path = "../../../router" }
|
2023-03-30 15:34:13 +00:00
|
|
|
dioxus-server = { path = "../../" }
|
|
|
|
axum = { version = "0.6.12", optional = true }
|
|
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
|
|
|
serde = "1.0.159"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
ssr = ["axum", "tokio", "dioxus-server/ssr", "dioxus-server/axum"]
|
2023-03-31 20:33:44 +00:00
|
|
|
web = ["dioxus-web", "dioxus-router/web"]
|