1
0

Cargo.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. [package]
  2. name = "dioxus-web"
  3. version = "0.3.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.3.0", features = ["serialize"] }
  14. dioxus-html = { path = "../html", version = "^0.3.0", features = ["wasm-bind"] }
  15. dioxus-interpreter-js = { path = "../interpreter", version = "^0.3.0", features = [
  16. "sledgehammer"
  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. serde = { version = "1.0" }
  32. serde-wasm-bindgen = "0.4.5"
  33. [dependencies.web-sys]
  34. version = "0.3.56"
  35. features = [
  36. "Comment",
  37. "Attr",
  38. "Document",
  39. "Element",
  40. "CssStyleDeclaration",
  41. "HtmlElement",
  42. "HtmlInputElement",
  43. "HtmlSelectElement",
  44. "HtmlTextAreaElement",
  45. "HtmlFormElement",
  46. "EventTarget",
  47. "HtmlCollection",
  48. "Node",
  49. "NodeList",
  50. "Text",
  51. "Window",
  52. "Event",
  53. "MouseEvent",
  54. "InputEvent",
  55. "ClipboardEvent",
  56. "NamedNodeMap",
  57. "KeyboardEvent",
  58. "TouchEvent",
  59. "WheelEvent",
  60. "AnimationEvent",
  61. "TransitionEvent",
  62. "PointerEvent",
  63. "FocusEvent",
  64. "CompositionEvent",
  65. "ClipboardEvent",
  66. "DocumentType",
  67. "CharacterData",
  68. "SvgElement",
  69. "SvgAnimatedString",
  70. "HtmlOptionElement",
  71. "IdleDeadline",
  72. "WebSocket",
  73. "Location",
  74. "MessageEvent",
  75. "console",
  76. ]
  77. [features]
  78. default = ["panic_hook"]
  79. panic_hook = ["console_error_panic_hook"]
  80. hydrate = []
  81. [dev-dependencies]
  82. dioxus = { path = "../dioxus", version = "0.3.0" }
  83. wasm-bindgen-test = "0.3.29"
  84. dioxus-ssr = { path = "../ssr", version = "0.3.0"}
  85. wasm-logger = "0.2.0"
  86. dioxus-web = { path = ".", features = ["hydrate"] }