mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-21 10:03:13 +00:00
20 lines
584 B
TOML
20 lines
584 B
TOML
[package]
|
|
name = "axum-hello-world"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
# 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" }
|
|
dioxus-server = { path = "../../" }
|
|
axum = { version = "0.6.12", optional = true }
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
|
serde = "1.0.159"
|
|
|
|
[features]
|
|
default = ["web"]
|
|
ssr = ["axum", "tokio", "dioxus-server/axum"]
|
|
web = ["dioxus-web"]
|