Cargo.toml 620 B

1234567891011121314151617181920
  1. [package]
  2. name = "axum-hello-world"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. dioxus-web = { path = "../../../web", features=["hydrate"], optional = true }
  8. dioxus = { path = "../../../dioxus" }
  9. dioxus-server = { path = "../../" }
  10. axum = { version = "0.6.12", optional = true }
  11. tokio = { version = "1.27.0", features = ["full"], optional = true }
  12. serde = "1.0.159"
  13. tracing-subscriber = "0.3.16"
  14. tracing = "0.1.37"
  15. [features]
  16. ssr = ["axum", "tokio", "dioxus-server/ssr", "dioxus-server/axum"]
  17. web = ["dioxus-web"]