Cargo.toml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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" }
  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. [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. "EventTarget",
  44. "HtmlCollection",
  45. "Node",
  46. "NodeList",
  47. "Text",
  48. "Window",
  49. "Event",
  50. "MouseEvent",
  51. "InputEvent",
  52. "ClipboardEvent",
  53. "NamedNodeMap",
  54. "KeyboardEvent",
  55. "TouchEvent",
  56. "WheelEvent",
  57. "AnimationEvent",
  58. "TransitionEvent",
  59. "PointerEvent",
  60. "FocusEvent",
  61. "CompositionEvent",
  62. "ClipboardEvent",
  63. "DocumentType",
  64. "CharacterData",
  65. "SvgElement",
  66. "SvgAnimatedString",
  67. "HtmlOptionElement",
  68. "IdleDeadline",
  69. ]
  70. [features]
  71. default = ["panic_hook"]
  72. panic_hook = ["console_error_panic_hook"]
  73. [dev-dependencies]
  74. dioxus-core-macro = { path = "../core-macro" }
  75. wasm-bindgen-test = "0.3.29"
  76. dioxus-ssr = { path = "../ssr" }