Cargo.toml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. rustc-hash = { workspace = true }
  25. dioxus-html = { workspace = true, features = ["serialize"] }
  26. dioxus-core = { workspace = true, features = ["serialize"] }
  27. dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
  28. dioxus-hot-reload = { workspace = true, optional = true }
  29. # warp
  30. warp = { version = "0.3.3", optional = true }
  31. # axum
  32. axum = { version = "0.6.1", optional = true, features = ["ws"] }
  33. # salvo
  34. salvo = { version = "0.44.1", optional = true, features = ["ws"] }
  35. once_cell = "1.17.1"
  36. async-trait = "0.1.71"
  37. # actix is ... complicated?
  38. # actix-files = { version = "0.6.2", optional = true }
  39. # actix-web = { version = "4.2.1", optional = true }
  40. # actix-ws = { version = "0.2.5", optional = true }
  41. [dev-dependencies]
  42. pretty_env_logger = { version = "0.5.0" }
  43. tokio = { workspace = true, features = ["full"] }
  44. dioxus = { workspace = true }
  45. warp = "0.3.3"
  46. axum = { version = "0.6.1", features = ["ws"] }
  47. salvo = { version = "0.44.1", features = ["affix", "ws"] }
  48. tower = "0.4.13"
  49. [build-dependencies]
  50. dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
  51. minify-js = "0.5.6"
  52. [features]
  53. default = ["hot-reload"]
  54. # actix = ["actix-files", "actix-web", "actix-ws"]
  55. hot-reload = ["dioxus-hot-reload"]
  56. [[example]]
  57. name = "axum"
  58. required-features = ["axum"]
  59. [[example]]
  60. name = "axum_stress"
  61. required-features = ["axum"]
  62. [[example]]
  63. name = "salvo"
  64. required-features = ["salvo"]
  65. [[example]]
  66. name = "warp"
  67. required-features = ["warp"]