2023-04-03 18:34:34 +00:00
|
|
|
[package]
|
|
|
|
name = "axum-desktop"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
dioxus-desktop = { path = "../../../desktop", optional = true }
|
|
|
|
dioxus = { path = "../../../dioxus" }
|
|
|
|
dioxus-router = { path = "../../../router" }
|
2023-05-02 15:15:34 +00:00
|
|
|
dioxus-fullstack = { path = "../../" }
|
2023-04-03 18:34:34 +00:00
|
|
|
axum = { version = "0.6.12", optional = true }
|
|
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
|
|
|
serde = "1.0.159"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
2023-05-02 15:15:34 +00:00
|
|
|
ssr = ["axum", "tokio", "dioxus-fullstack/axum"]
|
2023-04-03 18:34:34 +00:00
|
|
|
desktop = ["dioxus-desktop"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "client"
|
|
|
|
path = "src/client.rs"
|
|
|
|
required-features = ["desktop"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "server"
|
2023-05-02 15:15:34 +00:00
|
|
|
path = "src/fullstack.rs"
|
2023-04-03 18:34:34 +00:00
|
|
|
required-features = ["ssr"]
|