2023-03-30 15:34:13 +00:00
|
|
|
[package]
|
2023-03-31 00:42:53 +00:00
|
|
|
name = "salvo-hello-world"
|
2023-03-30 15:34:13 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-04-03 18:09:34 +00:00
|
|
|
publish = false
|
2023-03-30 15:34:13 +00:00
|
|
|
|
|
|
|
# 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 = "../../" }
|
|
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
|
|
|
serde = "1.0.159"
|
2023-03-31 00:42:53 +00:00
|
|
|
salvo = { version = "0.37.9", optional = true }
|
2023-03-30 15:34:13 +00:00
|
|
|
|
|
|
|
[features]
|
2023-04-01 22:05:44 +00:00
|
|
|
default = ["web"]
|
|
|
|
ssr = ["salvo", "tokio", "dioxus-server/salvo"]
|
2023-03-30 15:34:13 +00:00
|
|
|
web = ["dioxus-web"]
|