Cargo.toml 2.1 KB

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