Cargo.toml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 OR 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.5.0"
  33. async-trait = "0.1.58"
  34. async-channel = "1.8.0"
  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. gloo-timers = "0.2.3"
  92. gloo-dialogs = "0.1.1"
  93. dioxus-web = { workspace = true, features = ["hydrate"] }