Cargo.toml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. [package]
  2. name = "dioxus-web"
  3. version = "0.2.0"
  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.0" }
  14. dioxus-html = { path = "../html", version = "^0.2.0" }
  15. dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.0", features = ["web"] }
  16. js-sys = "0.3.56"
  17. wasm-bindgen = { version = "0.2.79", features = ["enable-interning"] }
  18. wasm-bindgen-futures = "0.4.29"
  19. log = { version = "0.4.14", features = ["release_max_level_off"] }
  20. fxhash = "0.2.1"
  21. console_error_panic_hook = { version = "0.1.7", optional = true }
  22. once_cell = "1.9.0"
  23. anyhow = "1.0.53"
  24. gloo-timers = { version = "0.2.3", features = ["futures"] }
  25. futures-util = "0.3.19"
  26. smallstr = "0.2.0"
  27. serde-wasm-bindgen = "0.4.2"
  28. futures-channel = "0.3.21"
  29. [dependencies.web-sys]
  30. version = "0.3.56"
  31. features = [
  32. "Comment",
  33. "Attr",
  34. "Document",
  35. "Element",
  36. "CssStyleDeclaration",
  37. "HtmlElement",
  38. "HtmlInputElement",
  39. "HtmlSelectElement",
  40. "HtmlTextAreaElement",
  41. "HtmlFormElement",
  42. "EventTarget",
  43. "HtmlCollection",
  44. "Node",
  45. "NodeList",
  46. "Text",
  47. "Window",
  48. "Event",
  49. "MouseEvent",
  50. "InputEvent",
  51. "ClipboardEvent",
  52. "NamedNodeMap",
  53. "KeyboardEvent",
  54. "TouchEvent",
  55. "WheelEvent",
  56. "AnimationEvent",
  57. "TransitionEvent",
  58. "PointerEvent",
  59. "FocusEvent",
  60. "CompositionEvent",
  61. "ClipboardEvent",
  62. "DocumentType",
  63. "CharacterData",
  64. "SvgElement",
  65. "SvgAnimatedString",
  66. "HtmlOptionElement",
  67. "IdleDeadline",
  68. ]
  69. [features]
  70. default = ["panic_hook"]
  71. panic_hook = ["console_error_panic_hook"]
  72. [dev-dependencies]
  73. dioxus-core-macro = { path = "../core-macro" }
  74. wasm-bindgen-test = "0.3.29"
  75. dioxus-ssr = { path = "../ssr" }
  76. wasm-logger = "0.2.0"