Cargo.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. [package]
  2. name = "dioxus-web"
  3. version = "0.0.5"
  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.1.9" }
  14. dioxus-html = { path = "../html", version = "^0.1.6", features = ["wasm-bind"] }
  15. js-sys = "0.3.56"
  16. wasm-bindgen = { version = "0.2.79", features = ["enable-interning"] }
  17. lazy_static = "1.4.0"
  18. wasm-bindgen-futures = "0.4.29"
  19. log = { version = "0.4.14", features = ["release_max_level_off"] }
  20. fxhash = "0.2.1"
  21. wasm-logger = "0.2.0"
  22. console_error_panic_hook = { version = "0.1.7", optional = true }
  23. wasm-bindgen-test = "0.3.29"
  24. once_cell = "1.9.0"
  25. async-channel = "1.6.1"
  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. dioxus-interpreter-js = { path = "../interpreter", version = "^0.0.0", features = ["web"] }
  31. serde-wasm-bindgen = "0.4.2"
  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. ]
  72. [features]
  73. default = ["panic_hook"]
  74. panic_hook = ["console_error_panic_hook"]
  75. [dev-dependencies]
  76. dioxus-core-macro = { path = "../core-macro" }
  77. wasm-bindgen-test = "0.3.29"
  78. dioxus-ssr = { path = "../ssr" }