Cargo.toml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [package]
  2. name = "dioxus-liveview"
  3. version = { workspace = true }
  4. edition = "2021"
  5. repository = "https://github.com/DioxusLabs/dioxus/"
  6. homepage = "https://dioxuslabs.com/learn/0.5/getting_started"
  7. keywords = ["dom", "ui", "gui", "react", "liveview"]
  8. description = "Build server-side apps with Dioxus"
  9. authors = ["Jonathan Kelley", "Evan Almloff"]
  10. license = "MIT OR Apache-2.0"
  11. [dependencies]
  12. thiserror = { workspace = true }
  13. tracing = { workspace = true }
  14. slab = { workspace = true }
  15. futures-util = { workspace = true, default-features = false, features = [
  16. "sink",
  17. ] }
  18. futures-channel = { workspace = true }
  19. tokio = { workspace = true, features = ["time", "macros"] }
  20. tokio-stream = { version = "0.1.11", features = ["net"] }
  21. tokio-util = { version = "0.7.4", features = ["rt"] }
  22. serde = { version = "1.0.151", features = ["derive"] }
  23. serde_json = "1.0.91"
  24. dioxus-html = { workspace = true, features = ["serialize", "document", "mounted"] }
  25. rustc-hash = { workspace = true }
  26. dioxus-core = { workspace = true, features = ["serialize"] }
  27. dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
  28. dioxus-hot-reload = { workspace = true, optional = true }
  29. dioxus-cli-config = { workspace = true, features = ["read-config"] }
  30. generational-box = { workspace = true }
  31. # axum
  32. axum = { workspace = true, optional = true, features = ["ws"] }
  33. [dev-dependencies]
  34. pretty_env_logger = { version = "0.5.0" }
  35. tokio = { workspace = true, features = ["full"] }
  36. axum = { workspace = true, features = ["ws"] }
  37. tower = { workspace = true }
  38. dioxus = { workspace = true }
  39. [features]
  40. default = ["hot-reload", "multi-thread"]
  41. axum = ["dep:axum"]
  42. multi-thread = ["tokio/rt-multi-thread"]
  43. hot-reload = ["dep:dioxus-hot-reload"]
  44. [[example]]
  45. name = "axum"
  46. required-features = ["axum"]
  47. doc-scrape-examples = true
  48. [[example]]
  49. name = "axum_stress"
  50. required-features = ["axum"]
  51. doc-scrape-examples = true