mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-18 08:33:07 +00:00
30 lines
765 B
TOML
30 lines
765 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 = { workspace = true, features = ["hydrate"], optional = true }
|
|
dioxus = { workspace = true }
|
|
dioxus-fullstack = { workspace = true }
|
|
axum = { version = "0.6.12", optional = true }
|
|
tokio = { workspace = true, features = ["full"], optional = true }
|
|
serde = "1.0.159"
|
|
execute = "0.2.12"
|
|
tower-http = { version = "0.4.1", features = ["auth"] }
|
|
simple_logger = "4.2.0"
|
|
|
|
[features]
|
|
default = []
|
|
ssr = ["axum", "tokio", "dioxus-fullstack/axum"]
|
|
web = ["dioxus-web"]
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = "abort"
|
|
opt-level = 'z'
|
|
strip = true
|
|
codegen-units = 1
|