Cargo.toml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [package]
  2. name = "dioxus"
  3. version = "0.1.2"
  4. authors = ["Jonathan Kelley"]
  5. edition = "2018"
  6. description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
  7. license = "MIT/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. [dependencies]
  13. dioxus-core = { path = "./packages/core", version = "^0.1.3" }
  14. dioxus-html = { path = "./packages/html", optional = true }
  15. dioxus-core-macro = { path = "./packages/core-macro", optional = true }
  16. dioxus-hooks = { path = "./packages/hooks", optional = true }
  17. dioxus-ssr = { path = "./packages/ssr", optional = true }
  18. dioxus-web = { path = "./packages/web", optional = true }
  19. dioxus-desktop = { path = "./packages/desktop", optional = true }
  20. dioxus-router = { path = "./packages/router", optional = true }
  21. dioxus-mobile = { path = "./packages/mobile", optional = true }
  22. dioxus-liveview = { path = "./packages/liveview", optional = true }
  23. [features]
  24. default = ["macro", "hooks", "html"]
  25. macro = ["dioxus-core-macro"]
  26. hooks = ["dioxus-hooks"]
  27. html = ["dioxus-html"]
  28. router = ["dioxus-router"]
  29. liveview = ["dioxus-liveview"]
  30. ssr = ["dioxus-ssr"]
  31. web = ["dioxus-web", "dioxus-router/web"]
  32. desktop = ["dioxus-desktop", "dioxus-router/desktop"]
  33. mobile = ["dioxus-mobile"]
  34. [workspace]
  35. members = [
  36. "packages/core",
  37. "packages/core-macro",
  38. "packages/html",
  39. "packages/hooks",
  40. "packages/web",
  41. "packages/ssr",
  42. "packages/desktop",
  43. "packages/mobile",
  44. ]
  45. [dev-dependencies]
  46. futures-util = "0.3.17"
  47. log = "0.4.14"
  48. num-format = "0.4.0"
  49. separator = "0.4.1"
  50. serde = { version = "1.0.131", features = ["derive"] }
  51. im-rc = "15.0.0"
  52. fxhash = "0.2.1"
  53. anyhow = "1.0.51"
  54. serde_json = "1.0.73"
  55. simple_logger = "1.16.0"
  56. [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
  57. argh = "0.1.7"
  58. env_logger = "0.9.0"
  59. tokio = { version = "1.14.0", features = ["full"] }
  60. rand = { version = "0.8.4", features = ["small_rng"] }
  61. gloo-timers = "0.2.2"
  62. [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
  63. gloo-timers = "0.2.2"
  64. wasm-logger = "0.2.0"
  65. console_error_panic_hook = "0.1.7"
  66. rand = { version = "0.8.4", features = ["small_rng"] }
  67. wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  68. [dev-dependencies.getrandom]
  69. version = "0.2.3"
  70. features = ["js"]