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