Cargo.toml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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" }
  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 = { version = "0.4.14" }
  22. fxhash = "0.2.1"
  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. serde-wasm-bindgen = "0.4.2"
  30. futures-channel = "0.3.21"
  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. ]
  71. [features]
  72. default = ["panic_hook"]
  73. panic_hook = ["console_error_panic_hook"]
  74. [dev-dependencies]
  75. dioxus-core-macro = { path = "../core-macro" }
  76. wasm-bindgen-test = "0.3.29"
  77. dioxus-ssr = { path = "../ssr" }
  78. wasm-logger = "0.2.0"