1
0

Cargo.toml 686 B

123456789101112131415161718192021
  1. [package]
  2. name = "axum-router"
  3. version = "0.1.0"
  4. edition = "2021"
  5. publish = false
  6. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  7. [dependencies]
  8. dioxus-web = { workspace = true, features = ["hydrate"], optional = true }
  9. dioxus = { workspace = true }
  10. dioxus-router = { workspace = true }
  11. dioxus-fullstack = { workspace = true, features = ["router"] }
  12. axum = { version = "0.6.12", optional = true }
  13. tokio = {workspace = true, features = ["full"], optional = true }
  14. serde = { version = "1.0.159", features = ["derive"] }
  15. [features]
  16. default = []
  17. ssr = ["axum", "dioxus-fullstack/axum"]
  18. web = ["dioxus-fullstack/web", "dioxus-router/web"]