Cargo.toml 2.1 KB

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