Cargo.toml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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/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. # actix is ... complicated?
  35. # actix-files = { version = "0.6.2", optional = true }
  36. # actix-web = { version = "4.2.1", optional = true }
  37. # actix-ws = { version = "0.2.5", optional = true }
  38. [dev-dependencies]
  39. pretty_env_logger = { version = "0.5.0" }
  40. tokio = { workspace = true, features = ["full"] }
  41. dioxus = { workspace = true }
  42. warp = "0.3.3"
  43. axum = { version = "0.6.1", features = ["ws"] }
  44. salvo = { version = "0.44.1", features = ["affix", "ws"] }
  45. tower = "0.4.13"
  46. [features]
  47. default = ["hot-reload"]
  48. # actix = ["actix-files", "actix-web", "actix-ws"]
  49. hot-reload = ["dioxus-hot-reload"]
  50. [[example]]
  51. name = "axum"
  52. required-features = ["axum"]
  53. [[example]]
  54. name = "salvo"
  55. required-features = ["salvo"]
  56. [[example]]
  57. name = "warp"
  58. required-features = ["warp"]