Cargo.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [package]
  2. name = "dioxus"
  3. version = { workspace = true }
  4. authors = ["Jonathan Kelley", "Dioxus Labs", "ealmloff"]
  5. edition = "2021"
  6. description = "Portable, performant, and ergonomic framework for building cross-platform user interfaces in Rust"
  7. license = "MIT OR Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. homepage = "https://dioxuslabs.com/learn/0.4/"
  10. keywords = ["dom", "ui", "gui", "react", "wasm"]
  11. rust-version = "1.65.0"
  12. [dependencies]
  13. dioxus-core = { workspace = true }
  14. dioxus-html = { workspace = true, optional = true }
  15. dioxus-core-macro = { workspace = true, optional = true }
  16. dioxus-config-macro = { workspace = true, optional = true }
  17. dioxus-hooks = { workspace = true, optional = true }
  18. dioxus-rsx = { workspace = true, optional = true }
  19. dioxus-signals = { workspace = true, optional = true }
  20. dioxus-router = { workspace = true, optional = true }
  21. dioxus-web = { workspace = true, optional = true }
  22. dioxus-desktop = { workspace = true, optional = true }
  23. dioxus-fullstack = { workspace = true, optional = true }
  24. dioxus-liveview = { workspace = true, optional = true }
  25. # dioxus-tui = { workspace = true, optional = true }
  26. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  27. dioxus-hot-reload = { workspace = true, optional = true }
  28. [features]
  29. default = ["macro", "html", "hot-reload", "signals", "launch"]
  30. signals = ["dioxus-signals"]
  31. macro = ["dioxus-core-macro", "dioxus-rsx"]
  32. html = ["dioxus-html"]
  33. hooks = ["dioxus-hooks"]
  34. hot-reload = ["dioxus-hot-reload"]
  35. launch = ["dioxus-config-macro"]
  36. router = ["dioxus-router"]
  37. # Platforms
  38. fullstack = ["dioxus-fullstack"]
  39. desktop = ["dioxus-desktop", "dioxus-fullstack?/desktop"]
  40. web = ["dioxus-web", "dioxus-fullstack?/web"]
  41. ssr = ["dioxus-fullstack?/ssr"]
  42. liveview = ["dioxus-desktop"]
  43. # tui = ["dioxus-tui"]
  44. [dev-dependencies]
  45. futures-util = { workspace = true }
  46. tracing = { workspace = true }
  47. rand = { version = "0.8.4", features = ["small_rng"] }
  48. criterion = "0.3.5"
  49. thiserror = { workspace = true }
  50. env_logger = "0.10.0"
  51. tokio = { workspace = true, features = ["full"] }
  52. [[bench]]
  53. name = "jsframework"
  54. harness = false