Cargo.toml 809 B

123456789101112131415161718192021222324
  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 = { path = "../../../web", features=["hydrate"], optional = true }
  9. dioxus = { path = "../../../dioxus" }
  10. dioxus-router = { path = "../../../router" }
  11. dioxus-fullstack = { path = "../../" }
  12. axum = { version = "0.6.12", optional = true }
  13. tokio = { version = "1.27.0", features = ["full"], optional = true }
  14. serde = "1.0.159"
  15. tower-http = { version = "0.4.0", features = ["fs"], optional = true }
  16. http = { version = "0.2.9", optional = true }
  17. execute = "0.2.12"
  18. [features]
  19. default = ["web"]
  20. ssr = ["axum", "tokio", "dioxus-fullstack/axum", "tower-http", "http"]
  21. web = ["dioxus-web", "dioxus-router/web"]