Cargo.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [package]
  2. name = "dioxus"
  3. version = "0.3.2"
  4. authors = ["Jonathan Kelley", "Dioxus Labs", "ealmloff"]
  5. edition = "2021"
  6. description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
  7. license = "MIT OR Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. homepage = "https://dioxuslabs.com"
  10. documentation = "https://dioxuslabs.com"
  11. keywords = ["dom", "ui", "gui", "react", "wasm"]
  12. rust-version = "1.65.0"
  13. [dependencies]
  14. dioxus-core = { path = "../core", version = "^0.3.0" }
  15. dioxus-html = { path = "../html", version = "^0.3.0", optional = true }
  16. dioxus-core-macro = { path = "../core-macro", version = "^0.3.0", optional = true }
  17. dioxus-hooks = { path = "../hooks", version = "^0.3.0", optional = true }
  18. dioxus-rsx = { path = "../rsx", version = "^0.0.3", optional = true }
  19. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  20. dioxus-hot-reload = { path = "../hot-reload", version = "0.1.0", optional = true }
  21. [features]
  22. default = ["macro", "hooks", "html", "hot-reload"]
  23. macro = ["dioxus-core-macro", "dioxus-rsx"]
  24. html = ["dioxus-html"]
  25. hooks = ["dioxus-hooks"]
  26. hot-reload = ["dioxus-hot-reload"]
  27. [dev-dependencies]
  28. futures-util = "0.3.21"
  29. log = "0.4.14"
  30. rand = { version = "0.8.4", features = ["small_rng"] }
  31. criterion = "0.3.5"
  32. thiserror = "1.0.30"
  33. env_logger = "0.9.0"
  34. tokio = { version = "1.21.2", features = ["full"] }
  35. # dioxus-edit-stream = { path = "../edit-stream" }
  36. [[bench]]
  37. name = "jsframework"
  38. harness = false