Cargo.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. [package]
  2. name = "dioxus-web"
  3. version = "0.2.1"
  4. authors = ["Jonathan Kelley"]
  5. edition = "2018"
  6. description = "Dioxus VirtualDOM renderer for the web browser using websys"
  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 = "../core", version = "^0.2.1", features = ["serialize"] }
  14. dioxus-html = { path = "../html", version = "^0.2.1", features = ["wasm-bind"] }
  15. dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.1", features = [
  16. "web"
  17. ] }
  18. js-sys = "0.3.56"
  19. wasm-bindgen = { version = "0.2.79", features = ["enable-interning"] }
  20. wasm-bindgen-futures = "0.4.29"
  21. log = "0.4.14"
  22. rustc-hash = "1.1.0"
  23. console_error_panic_hook = { version = "0.1.7", optional = true }
  24. once_cell = "1.9.0"
  25. anyhow = "1.0.53"
  26. gloo-timers = { version = "0.2.3", features = ["futures"] }
  27. futures-util = "0.3.19"
  28. smallstr = "0.2.0"
  29. futures-channel = "0.3.21"
  30. serde_json = { version = "1.0" }
  31. [dependencies.web-sys]
  32. version = "0.3.56"
  33. features = [
  34. "Comment",
  35. "Attr",
  36. "Document",
  37. "Element",
  38. "CssStyleDeclaration",
  39. "HtmlElement",
  40. "HtmlInputElement",
  41. "HtmlSelectElement",
  42. "HtmlTextAreaElement",
  43. "HtmlFormElement",
  44. "EventTarget",
  45. "HtmlCollection",
  46. "Node",
  47. "NodeList",
  48. "Text",
  49. "Window",
  50. "Event",
  51. "MouseEvent",
  52. "InputEvent",
  53. "ClipboardEvent",
  54. "NamedNodeMap",
  55. "KeyboardEvent",
  56. "TouchEvent",
  57. "WheelEvent",
  58. "AnimationEvent",
  59. "TransitionEvent",
  60. "PointerEvent",
  61. "FocusEvent",
  62. "CompositionEvent",
  63. "ClipboardEvent",
  64. "DocumentType",
  65. "CharacterData",
  66. "SvgElement",
  67. "SvgAnimatedString",
  68. "HtmlOptionElement",
  69. "IdleDeadline",
  70. "WebSocket",
  71. "Location",
  72. "MessageEvent",
  73. "console",
  74. ]
  75. [features]
  76. default = ["panic_hook", "hydrate"]
  77. panic_hook = ["console_error_panic_hook"]
  78. hot-reload = ["dioxus/hot-reload"]
  79. hydrate = []
  80. [dev-dependencies]
  81. dioxus = { path = "../dioxus" }
  82. wasm-bindgen-test = "0.3.29"
  83. dioxus-ssr = { path = "../ssr" }
  84. wasm-logger = "0.2.0"
  85. dioxus-web = { path = "." }