2023-03-31 20:33:44 +00:00
|
|
|
[package]
|
|
|
|
name = "axum-router"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-04-03 18:09:34 +00:00
|
|
|
publish = false
|
2023-03-31 20:33:44 +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-router = { path = "../../../router" }
|
|
|
|
dioxus-server = { path = "../../" }
|
|
|
|
axum = { version = "0.6.12", optional = true }
|
|
|
|
tokio = { version = "1.27.0", features = ["full"], optional = true }
|
|
|
|
serde = "1.0.159"
|
|
|
|
tower-http = { version = "0.4.0", features = ["fs"], optional = true }
|
|
|
|
http = { version = "0.2.9", optional = true }
|
2023-05-01 22:34:30 +00:00
|
|
|
execute = "0.2.12"
|
2023-03-31 20:33:44 +00:00
|
|
|
|
|
|
|
[features]
|
2023-04-01 22:05:44 +00:00
|
|
|
default = ["web"]
|
|
|
|
ssr = ["axum", "tokio", "dioxus-server/axum", "tower-http", "http"]
|
2023-03-31 20:33:44 +00:00
|
|
|
web = ["dioxus-web", "dioxus-router/web"]
|