Cargo.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. [package]
  2. name = "dioxus"
  3. version = "0.1.8"
  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 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. [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-interpreter-js = { path = "./packages/interpreter", version = "^0.0.0", optional = true }
  23. # dioxus-liveview = { path = "./packages/liveview", optional = true }
  24. [features]
  25. default = ["macro", "hooks", "html"]
  26. macro = ["dioxus-core-macro"]
  27. hooks = ["dioxus-hooks"]
  28. html = ["dioxus-html"]
  29. ssr = ["dioxus-ssr"]
  30. web = ["dioxus-web"]
  31. desktop = ["dioxus-desktop"]
  32. router = ["dioxus-router"]
  33. devtool = ["dioxus-desktop/devtool"]
  34. fullscreen = ["dioxus-desktop/fullscreen"]
  35. transparent = ["dioxus-desktop/transparent"]
  36. tray = ["dioxus-desktop/tray"]
  37. ayatana = ["dioxus-desktop/ayatana"]
  38. # "dioxus-router/web"
  39. # "dioxus-router/desktop"
  40. # desktop = ["dioxus-desktop", "dioxus-router/desktop"]
  41. # mobile = ["dioxus-mobile"]
  42. # liveview = ["dioxus-liveview"]
  43. [workspace]
  44. members = [
  45. "packages/core",
  46. "packages/core-macro",
  47. "packages/html",
  48. "packages/hooks",
  49. "packages/web",
  50. "packages/ssr",
  51. "packages/desktop",
  52. "packages/mobile",
  53. "packages/interpreter",
  54. ]
  55. [dev-dependencies]
  56. futures-util = "0.3.21"
  57. log = "0.4.14"
  58. num-format = "0.4.0"
  59. separator = "0.4.1"
  60. serde = { version = "1.0.136", features = ["derive"] }
  61. im-rc = "15.0.0"
  62. anyhow = "1.0.53"
  63. serde_json = "1.0.79"
  64. rand = { version = "0.8.4", features = ["small_rng"] }
  65. tokio = { version = "1.16.1", features = ["full"] }
  66. reqwest = { version = "0.11.9", features = ["json"] }
  67. dioxus = { path = ".", features = ["desktop", "ssr", "router"] }