Cargo.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. # "dioxus-router/web"
  34. # "dioxus-router/desktop"
  35. # desktop = ["dioxus-desktop", "dioxus-router/desktop"]
  36. # mobile = ["dioxus-mobile"]
  37. # liveview = ["dioxus-liveview"]
  38. [workspace]
  39. members = [
  40. "packages/core",
  41. "packages/core-macro",
  42. "packages/html",
  43. "packages/hooks",
  44. "packages/web",
  45. "packages/ssr",
  46. "packages/desktop",
  47. "packages/mobile",
  48. "packages/interpreter",
  49. ]
  50. [dev-dependencies]
  51. futures-util = "0.3.17"
  52. log = "0.4.14"
  53. num-format = "0.4.0"
  54. separator = "0.4.1"
  55. serde = { version = "1.0.131", features = ["derive"] }
  56. im-rc = "15.0.0"
  57. anyhow = "1.0.51"
  58. serde_json = "1.0.73"
  59. rand = { version = "0.8.4", features = ["small_rng"] }
  60. tokio = { version = "1.14.0", features = ["full"] }
  61. reqwest = { version = "0.11.8", features = ["json"] }
  62. dioxus = { path = ".", features = ["desktop", "ssr", "router"] }