Cargo.toml 584 B

1234567891011121314151617181920
  1. [package]
  2. name = "axum-hello-world"
  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-server = { path = "../../" }
  11. axum = { version = "0.6.12", optional = true }
  12. tokio = { version = "1.27.0", features = ["full"], optional = true }
  13. serde = "1.0.159"
  14. [features]
  15. default = ["web"]
  16. ssr = ["axum", "tokio", "dioxus-server/axum"]
  17. web = ["dioxus-web"]