Cargo.toml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. [package]
  2. name = "dioxus-liveview"
  3. version = "0.3.1"
  4. edition = "2021"
  5. repository = "https://github.com/DioxusLabs/dioxus/"
  6. homepage = "https://dioxuslabs.com/docs/0.3/guide/en/getting_started/liveview.html"
  7. keywords = ["dom", "ui", "gui", "react", "liveview"]
  8. description = "Build server-side apps with Dioxus"
  9. license = "MIT OR Apache-2.0"
  10. [dependencies]
  11. thiserror = { workspace = true }
  12. log = { workspace = true }
  13. slab = { workspace = true }
  14. futures-util = { workspace = true, default-features = false, features = [
  15. "sink",
  16. ] }
  17. futures-channel = { workspace = true }
  18. tokio = { workspace = true, features = ["time", "macros"] }
  19. tokio-stream = { version = "0.1.11", features = ["net"] }
  20. tokio-util = { version = "0.7.4", features = ["rt"] }
  21. serde = { version = "1.0.151", features = ["derive"] }
  22. serde_json = "1.0.91"
  23. dioxus-html = { workspace = true, features = ["serialize"] }
  24. dioxus-core = { workspace = true, features = ["serialize"] }
  25. dioxus-interpreter-js = { workspace = true }
  26. dioxus-hot-reload = { workspace = true, optional = true }
  27. # warp
  28. warp = { version = "0.3.3", optional = true }
  29. # axum
  30. axum = { version = "0.6.1", optional = true, features = ["ws"] }
  31. # salvo
  32. salvo = { version = "0.44.1", optional = true, features = ["ws"] }
  33. once_cell = "1.17.1"
  34. async-trait = "0.1.71"
  35. # actix is ... complicated?
  36. # actix-files = { version = "0.6.2", optional = true }
  37. # actix-web = { version = "4.2.1", optional = true }
  38. # actix-ws = { version = "0.2.5", optional = true }
  39. [dev-dependencies]
  40. pretty_env_logger = { version = "0.5.0" }
  41. tokio = { workspace = true, features = ["full"] }
  42. dioxus = { workspace = true }
  43. warp = "0.3.3"
  44. axum = { version = "0.6.1", features = ["ws"] }
  45. salvo = { version = "0.44.1", features = ["affix", "ws"] }
  46. tower = "0.4.13"
  47. [features]
  48. default = ["hot-reload"]
  49. # actix = ["actix-files", "actix-web", "actix-ws"]
  50. hot-reload = ["dioxus-hot-reload"]
  51. [[example]]
  52. name = "axum"
  53. required-features = ["axum"]
  54. [[example]]
  55. name = "salvo"
  56. required-features = ["salvo"]
  57. [[example]]
  58. name = "warp"
  59. required-features = ["warp"]