Cargo.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. manganis = { git = "https://github.com/DioxusLabs/collect-assets" }
  20. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  21. dioxus-hot-reload = { workspace = true, optional = true }
  22. [features]
  23. default = ["macro", "html", "hot-reload", "signals"]
  24. signals = ["dioxus-signals"]
  25. macro = ["dioxus-core-macro", "dioxus-rsx"]
  26. html = ["dioxus-html"]
  27. hooks = ["dioxus-hooks"]
  28. hot-reload = ["dioxus-hot-reload"]
  29. [dev-dependencies]
  30. futures-util = { workspace = true }
  31. tracing = { workspace = true }
  32. rand = { version = "0.8.4", features = ["small_rng"] }
  33. criterion = "0.3.5"
  34. thiserror = { workspace = true }
  35. env_logger = "0.10.0"
  36. tokio = { workspace = true, features = ["full"] }
  37. # dioxus-edit-stream = { workspace = true }
  38. [[bench]]
  39. name = "jsframework"
  40. harness = false