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 = { version = "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. serde-wasm-bindgen = "0.4.2"
  30. futures-channel = "0.3.21"
  31. serde_json = { version = "1.0" }
  32. [dependencies.web-sys]
  33. version = "0.3.56"
  34. features = [
  35. "Comment",
  36. "Attr",
  37. "Document",
  38. "Element",
  39. "CssStyleDeclaration",
  40. "HtmlElement",
  41. "HtmlInputElement",
  42. "HtmlSelectElement",
  43. "HtmlTextAreaElement",
  44. "HtmlFormElement",
  45. "EventTarget",
  46. "HtmlCollection",
  47. "Node",
  48. "NodeList",
  49. "Text",
  50. "Window",
  51. "Event",
  52. "MouseEvent",
  53. "InputEvent",
  54. "ClipboardEvent",
  55. "NamedNodeMap",
  56. "KeyboardEvent",
  57. "TouchEvent",
  58. "WheelEvent",
  59. "AnimationEvent",
  60. "TransitionEvent",
  61. "PointerEvent",
  62. "FocusEvent",
  63. "CompositionEvent",
  64. "ClipboardEvent",
  65. "DocumentType",
  66. "CharacterData",
  67. "SvgElement",
  68. "SvgAnimatedString",
  69. "HtmlOptionElement",
  70. "IdleDeadline",
  71. "WebSocket",
  72. "Location",
  73. "MessageEvent",
  74. "console",
  75. ]
  76. [features]
  77. default = ["panic_hook"]
  78. panic_hook = ["console_error_panic_hook"]
  79. hot-reload = ["dioxus/hot-reload"]
  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"