Cargo.toml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. [package]
  2. name = "dioxus-web"
  3. version = "0.3.2"
  4. authors = ["Jonathan Kelley"]
  5. edition = "2018"
  6. description = "Web renderer for Dioxus using websys"
  7. license = "MIT/Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. homepage = "https://dioxuslabs.com/docs/0.3/guide/en/getting_started/web.html"
  10. keywords = ["dom", "ui", "gui", "react", "wasm"]
  11. [dependencies]
  12. dioxus-core = { workspace = true, features = ["serialize"] }
  13. dioxus-html = { workspace = true, features = ["wasm-bind"] }
  14. dioxus-interpreter-js = { workspace = true, features = [
  15. "sledgehammer",
  16. "minimal_bindings",
  17. ] }
  18. js-sys = "0.3.56"
  19. wasm-bindgen = { workspace = true, features = ["enable-interning"] }
  20. wasm-bindgen-futures = "0.4.29"
  21. log = { workspace = true }
  22. rustc-hash = { workspace = true }
  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 = { workspace = true, features = ["std", "async-await", "async-await-macro"] }
  28. smallstr = "0.2.0"
  29. futures-channel = { workspace = true }
  30. serde_json = { version = "1.0" }
  31. serde = { version = "1.0" }
  32. serde-wasm-bindgen = "0.4.5"
  33. async-trait = "0.1.58"
  34. [dependencies.web-sys]
  35. version = "0.3.56"
  36. features = [
  37. "Comment",
  38. "Attr",
  39. "Document",
  40. "Element",
  41. "CssStyleDeclaration",
  42. "HtmlElement",
  43. "HtmlInputElement",
  44. "HtmlSelectElement",
  45. "HtmlTextAreaElement",
  46. "HtmlFormElement",
  47. "EventTarget",
  48. "HtmlCollection",
  49. "Node",
  50. "NodeList",
  51. "Text",
  52. "Window",
  53. "Event",
  54. "MouseEvent",
  55. "InputEvent",
  56. "ClipboardEvent",
  57. "NamedNodeMap",
  58. "KeyboardEvent",
  59. "TouchEvent",
  60. "WheelEvent",
  61. "AnimationEvent",
  62. "TransitionEvent",
  63. "PointerEvent",
  64. "FocusEvent",
  65. "CompositionEvent",
  66. "ClipboardEvent",
  67. "DocumentType",
  68. "CharacterData",
  69. "SvgElement",
  70. "SvgAnimatedString",
  71. "HtmlOptionElement",
  72. "IdleDeadline",
  73. "WebSocket",
  74. "Location",
  75. "MessageEvent",
  76. "console",
  77. "FileList",
  78. "File",
  79. "FileReader"
  80. ]
  81. [features]
  82. default = ["panic_hook"]
  83. panic_hook = ["console_error_panic_hook"]
  84. hydrate = []
  85. [dev-dependencies]
  86. dioxus = { workspace = true }
  87. wasm-bindgen-test = "0.3.29"
  88. dioxus-ssr = { workspace = true}
  89. wasm-logger = "0.2.0"
  90. gloo-timers = "0.2.3"
  91. gloo-dialogs = "0.1.1"
  92. dioxus-web = { workspace = true, features = ["hydrate"] }