Cargo.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. log = "0.4.14"
  15. slab = "0.4"
  16. futures-util = { version = "0.3.25", default-features = false, features = [
  17. "sink",
  18. ] }
  19. futures-channel = { version = "0.3.25", features = ["sink"] }
  20. tokio = { version = "1.22.0", features = ["time", "macros"] }
  21. tokio-stream = { version = "0.1.11", features = ["net"] }
  22. tokio-util = { version = "0.7.4", features = ["rt"] }
  23. serde = { version = "1.0.151", features = ["derive"] }
  24. serde_json = "1.0.91"
  25. dioxus-html = { path = "../html", features = ["serialize"], version = "^0.3.0" }
  26. dioxus-core = { path = "../core", features = ["serialize"], version = "^0.3.0" }
  27. dioxus-interpreter-js = { path = "../interpreter", version = "0.3.0" }
  28. dioxus-hot-reload = { path = "../hot-reload", 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.37.7", optional = true, features = ["ws"] }
  35. once_cell = "1.17.1"
  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 = { version = "1.22.0", features = ["full"] }
  43. dioxus = { path = "../dioxus", version = "0.3.0" }
  44. warp = "0.3.3"
  45. axum = { version = "0.6.1", features = ["ws"] }
  46. salvo = { version = "0.37.7", 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"]