Cargo.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. dioxus-html = { path = "../html", features = ["serialize"], version = "^0.3.0" }
  14. dioxus-core = { path = "../core", features = ["serialize"], version = "^0.3.0" }
  15. dioxus-interpreter-js = { path = "../interpreter", version = "0.3.0" }
  16. dioxus-hot-reload = { path = "../hot-reload" }
  17. tokio = { version = "1.23.0", features = ["full"] }
  18. futures-util = { version = "0.3.25", default-features = false, features = [
  19. "sink",
  20. ] }
  21. futures-channel = { version = "0.3.25", features = ["sink"] }
  22. pretty_env_logger = "0.4.0"
  23. tokio-stream = { version = "0.1.11", features = ["net"] }
  24. serde = { version = "1.0.151", features = ["derive"] }
  25. serde_json = "1.0.91"
  26. tokio-util = { version = "0.7.4", features = ["full"] }
  27. interprocess = { version = "1.2.1", 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. tower = { version = "0.4.13", optional = true }
  33. # salvo
  34. salvo = { version = "0.37.7", optional = true, features = ["ws"] }
  35. thiserror = "1.0.38"
  36. uuid = { version = "1.2.2", features = ["v4"] }
  37. anyhow = "1.0.68"
  38. # actix is ... complicated?
  39. # actix-files = { version = "0.6.2", optional = true }
  40. # actix-web = { version = "4.2.1", optional = true }
  41. # actix-ws = { version = "0.2.5", optional = true }
  42. [dev-dependencies]
  43. tokio = { version = "1.23.0", features = ["full"] }
  44. dioxus = { path = "../dioxus", version = "0.3.0" }
  45. warp = "0.3.3"
  46. axum = { version = "0.6.1", features = ["ws"] }
  47. salvo = { version = "0.37.7", features = ["affix", "ws"] }
  48. tower = "0.4.13"
  49. [features]
  50. default = ["hot-reload"]
  51. # actix = ["actix-files", "actix-web", "actix-ws"]
  52. hot-reload = ["interprocess"]
  53. [[example]]
  54. name = "axum"
  55. required-features = ["axum"]
  56. [[example]]
  57. name = "salvo"
  58. required-features = ["salvo"]
  59. [[example]]
  60. name = "warp"
  61. required-features = ["warp"]