Cargo.toml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. [package]
  2. name = "dioxus-web"
  3. version = "0.3.2"
  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 = { workspace = true, features = ["serialize"] }
  14. dioxus-html = { workspace = true, features = ["wasm-bind"] }
  15. dioxus-interpreter-js = { workspace = true, features = [
  16. "sledgehammer",
  17. "minimal_bindings",
  18. ] }
  19. js-sys = "0.3.56"
  20. wasm-bindgen = { workspace = true, features = ["enable-interning"] }
  21. wasm-bindgen-futures = "0.4.29"
  22. log = { workspace = true }
  23. rustc-hash = { workspace = true }
  24. console_error_panic_hook = { version = "0.1.7", optional = true }
  25. once_cell = "1.9.0"
  26. anyhow = "1.0.53"
  27. gloo-timers = { version = "0.2.3", features = ["futures"] }
  28. futures-util = { workspace = true, features = ["std", "async-await", "async-await-macro"] }
  29. smallstr = "0.2.0"
  30. futures-channel = { workspace = true }
  31. serde_json = { version = "1.0" }
  32. serde = { version = "1.0" }
  33. serde-wasm-bindgen = "0.4.5"
  34. async-trait = "0.1.58"
  35. [dependencies.web-sys]
  36. version = "0.3.56"
  37. features = [
  38. "Comment",
  39. "Attr",
  40. "Document",
  41. "Element",
  42. "CssStyleDeclaration",
  43. "HtmlElement",
  44. "HtmlInputElement",
  45. "HtmlSelectElement",
  46. "HtmlTextAreaElement",
  47. "HtmlFormElement",
  48. "EventTarget",
  49. "HtmlCollection",
  50. "Node",
  51. "NodeList",
  52. "Text",
  53. "Window",
  54. "Event",
  55. "MouseEvent",
  56. "InputEvent",
  57. "ClipboardEvent",
  58. "NamedNodeMap",
  59. "KeyboardEvent",
  60. "TouchEvent",
  61. "WheelEvent",
  62. "AnimationEvent",
  63. "TransitionEvent",
  64. "PointerEvent",
  65. "FocusEvent",
  66. "CompositionEvent",
  67. "ClipboardEvent",
  68. "DocumentType",
  69. "CharacterData",
  70. "SvgElement",
  71. "SvgAnimatedString",
  72. "HtmlOptionElement",
  73. "IdleDeadline",
  74. "WebSocket",
  75. "Location",
  76. "MessageEvent",
  77. "console",
  78. "FileList",
  79. "File",
  80. "FileReader"
  81. ]
  82. [features]
  83. default = ["panic_hook"]
  84. panic_hook = ["console_error_panic_hook"]
  85. hydrate = []
  86. [dev-dependencies]
  87. dioxus = { workspace = true }
  88. wasm-bindgen-test = "0.3.29"
  89. dioxus-ssr = { workspace = true}
  90. wasm-logger = "0.2.0"
  91. dioxus-web = { workspace = true, features = ["hydrate"] }