Cargo.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. [package]
  2. name = "dioxus-liveview"
  3. version = "0.3.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", "liveview"]
  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. thiserror = "1.0.38"
  14. futures-util = { version = "0.3.25", default-features = false, features = [
  15. "sink",
  16. ] }
  17. futures-channel = { version = "0.3.25", features = ["sink"] }
  18. tokio = { version = "1.22.0", 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 = { path = "../html", features = ["serialize"], version = "^0.3.0" }
  24. dioxus-core = { path = "../core", features = ["serialize"], version = "^0.3.0" }
  25. dioxus-interpreter-js = { path = "../interpreter", version = "0.3.0" }
  26. dioxus-hot-reload = { path = "../hot-reload", 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.37.7", 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.4.0" }
  40. tokio = { version = "1.22.0", features = ["full"] }
  41. dioxus = { path = "../dioxus", version = "0.3.0" }
  42. warp = "0.3.3"
  43. axum = { version = "0.6.1", features = ["ws"] }
  44. salvo = { version = "0.37.7", 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"]