Cargo.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. [package]
  2. name = "dioxus"
  3. version = "0.1.7"
  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.9" }
  14. dioxus-html = { path = "./packages/html", version = "^0.1.6", optional = true }
  15. dioxus-core-macro = { path = "./packages/core-macro", version = "^0.1.7", optional = true }
  16. dioxus-hooks = { path = "./packages/hooks", version = "^0.1.7", optional = true }
  17. dioxus-web = { path = "./packages/web", version = "^0.0.5", optional = true }
  18. dioxus-desktop = { path = "./packages/desktop", version = "^0.1.6", optional = true }
  19. dioxus-ssr = { path = "./packages/ssr", version = "^0.1.3", optional = true }
  20. dioxus-router = { path = "./packages/router", version = "^0.1.1", optional = true }
  21. dioxus-mobile = { path = "./packages/mobile", version = "^0.0.3", 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. ssr = ["dioxus-ssr"]
  29. web = ["dioxus-web"]
  30. desktop = ["dioxus-desktop"]
  31. router = ["dioxus-router"]
  32. # "dioxus-router/web"
  33. # "dioxus-router/desktop"
  34. # desktop = ["dioxus-desktop", "dioxus-router/desktop"]
  35. # mobile = ["dioxus-mobile"]
  36. # liveview = ["dioxus-liveview"]
  37. [workspace]
  38. members = [
  39. "packages/core",
  40. "packages/core-macro",
  41. "packages/html",
  42. "packages/hooks",
  43. "packages/web",
  44. "packages/ssr",
  45. "packages/desktop",
  46. "packages/mobile",
  47. ]
  48. [dev-dependencies]
  49. futures-util = "0.3.17"
  50. log = "0.4.14"
  51. num-format = "0.4.0"
  52. separator = "0.4.1"
  53. serde = { version = "1.0.131", features = ["derive"] }
  54. im-rc = "15.0.0"
  55. anyhow = "1.0.51"
  56. serde_json = "1.0.73"
  57. rand = { version = "0.8.4", features = ["small_rng"] }
  58. tokio = { version = "1.14.0", features = ["full"] }
  59. reqwest = { version = "0.11.8", features = ["json"] }
  60. dioxus = { path = ".", features = ["desktop", "ssr", "router"] }