Cargo.toml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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-hooks = { workspace = true, optional = true }
  17. dioxus-rsx = { workspace = true, optional = true }
  18. dioxus-signals = { workspace = true, optional = true }
  19. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  20. dioxus-hot-reload = { workspace = true, optional = true }
  21. [features]
  22. default = ["macro", "html", "hot-reload", "signals", "hooks"]
  23. signals = ["dioxus-signals"]
  24. macro = ["dioxus-core-macro", "dioxus-rsx"]
  25. html = ["dioxus-html"]
  26. hooks = ["dioxus-hooks"]
  27. hot-reload = ["dioxus-hot-reload"]
  28. [dev-dependencies]
  29. futures-util = { workspace = true }
  30. tracing = { workspace = true }
  31. rand = { version = "0.8.4", features = ["small_rng"] }
  32. criterion = "0.3.5"
  33. thiserror = { workspace = true }
  34. env_logger = "0.10.0"
  35. tokio = { workspace = true, features = ["full"] }
  36. [[bench]]
  37. name = "jsframework"
  38. harness = false