Cargo.toml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [package]
  2. name = "dioxus-liveview"
  3. version = "0.1.0"
  4. edition = "2021"
  5. repository = "https://github.com/DioxusLabs/dioxus/"
  6. homepage = "https://dioxuslabs.com"
  7. documentation = "https://dioxuslabs.com"
  8. keywords = ["dom", "ui", "gui", "react", "wasm"]
  9. description = "Build server-side apps with Dioxus"
  10. license = "MIT/Apache-2.0"
  11. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  12. [dependencies]
  13. tokio = { version = "1", features = ["full"] }
  14. futures-util = { version = "0.3", default-features = false, features = [
  15. "sink",
  16. ] }
  17. futures-channel = { version = "0.3.17", features = ["sink"] }
  18. pretty_env_logger = "0.4"
  19. tokio-stream = { version = "0.1.1", features = ["net"] }
  20. serde = { version = "1.0.136", features = ["derive"] }
  21. serde_json = "1.0.79"
  22. tokio-util = { version = "0.7.0", features = ["full"] }
  23. dioxus-html = { path = "../html", features = ["serialize"], version = "^0.2.1" }
  24. dioxus-core = { path = "../core", features = ["serialize"], version = "^0.2.1" }
  25. # warp
  26. warp = { version = "0.3", optional = true }
  27. # axum
  28. axum = { version = "0.5.1", optional = true, features = ["ws"] }
  29. tower = { version = "0.4.12", optional = true }
  30. [dev-dependencies]
  31. tokio = { version = "1", features = ["full"] }
  32. dioxus = { path = "../../" }
  33. warp = "0.3"
  34. axum = { version = "0.5.1", features = ["ws"] }
  35. tower = "0.4.12"
  36. [features]
  37. default = []