Cargo.toml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. dioxus-rsx-interpreter = { path = "../rsx_interpreter", version = "^0.1.0", optional = true }
  19. js-sys = "0.3.56"
  20. wasm-bindgen = { version = "0.2.79", features = ["enable-interning"] }
  21. wasm-bindgen-futures = "0.4.29"
  22. log = { version = "0.4.14" }
  23. fxhash = "0.2.1"
  24. console_error_panic_hook = { version = "0.1.7", optional = true }
  25. once_cell = "1.9.0"
  26. anyhow = "1.0.53"
  27. gloo-timers = { version = "0.2.3", features = ["futures"] }
  28. futures-util = "0.3.19"
  29. smallstr = "0.2.0"
  30. serde-wasm-bindgen = "0.4.2"
  31. futures-channel = "0.3.21"
  32. serde_json = { version = "1.0", optional = true }
  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. ]
  73. [features]
  74. default = ["panic_hook"]
  75. panic_hook = ["console_error_panic_hook"]
  76. hot-reload = ["dioxus-rsx-interpreter", "web-sys/WebSocket", "web-sys/Location", "web-sys/MessageEvent", "web-sys/console", "serde_json"]
  77. [dev-dependencies]
  78. dioxus = { path = "../rsx-prelude", version = "^0.1.0", package = "rsx-prelude" }
  79. wasm-bindgen-test = "0.3.29"
  80. dioxus-ssr = { path = "../ssr" }
  81. wasm-logger = "0.2.0"