Cargo.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. dioxus-interpreter-js = { path = "../interpreter" }
  26. # warp
  27. warp = { version = "0.3", optional = true }
  28. # axum
  29. axum = { version = "0.5.1", optional = true, features = ["ws"] }
  30. tower = { version = "0.4.12", optional = true }
  31. # salvo
  32. salvo = { version = "0.32.0", optional = true, features = ["ws"] }
  33. thiserror = "1.0.37"
  34. uuid = { version = "1.2.2", features = ["v4"] }
  35. anyhow = "1.0.66"
  36. [dev-dependencies]
  37. tokio = { version = "1", features = ["full"] }
  38. dioxus = { path = "../dioxus" }
  39. warp = "0.3"
  40. axum = { version = "0.5.1", features = ["ws"] }
  41. salvo = { version = "0.32.0", features = ["affix", "ws"] }
  42. tower = "0.4.12"
  43. [features]
  44. default = ["salvo"]
  45. [[example]]
  46. name = "axum"
  47. required-features = ["axum"]
  48. [[example]]
  49. name = "salvo"
  50. required-features = ["salvo"]
  51. [[example]]
  52. name = "warp"
  53. required-features = ["warp"]