mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-23 02:53:12 +00:00
27 lines
679 B
TOML
27 lines
679 B
TOML
[package]
|
|
name = "salvo-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 = "../../" }
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
|
serde = "1.0.159"
|
|
salvo = { version = "0.37.9", optional = true }
|
|
|
|
[features]
|
|
default = ["web"]
|
|
ssr = ["salvo", "tokio", "dioxus-server/salvo"]
|
|
web = ["dioxus-web"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = "abort"
|
|
opt-level = 3
|
|
strip = true
|
|
codegen-units = 1
|