Cargo.toml 2.1 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. tokio = { version = "1.23.0", features = ["full"] }
  14. futures-util = { version = "0.3.25", default-features = false, features = [
  15. "sink",
  16. ] }
  17. futures-channel = { version = "0.3.25", features = ["sink"] }
  18. pretty_env_logger = "0.4.0"
  19. tokio-stream = { version = "0.1.11", features = ["net"] }
  20. serde = { version = "1.0.151", features = ["derive"] }
  21. serde_json = "1.0.91"
  22. tokio-util = { version = "0.7.4", features = ["full"] }
  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. # warp
  27. warp = { version = "0.3.3", optional = true }
  28. # axum
  29. axum = { version = "0.6.1", optional = true, features = ["ws"] }
  30. tower = { version = "0.4.13", optional = true }
  31. # salvo
  32. salvo = { version = "0.37.7", optional = true, features = ["ws"] }
  33. thiserror = "1.0.38"
  34. uuid = { version = "1.2.2", features = ["v4"] }
  35. anyhow = "1.0.68"
  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. tokio = { version = "1.23.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 = []
  49. # actix = ["actix-files", "actix-web", "actix-ws"]
  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"]