1
0

Cargo.toml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. [package]
  2. name = "dioxus-html"
  3. version = { workspace = true }
  4. authors = ["Jonathan Kelley"]
  5. edition = "2021"
  6. description = "HTML Element pack for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
  7. license = "MIT OR Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. homepage = "https://dioxuslabs.com"
  10. keywords = ["dom", "ui", "gui", "react"]
  11. [dependencies]
  12. dioxus-core = { workspace = true }
  13. dioxus-rsx = { workspace = true, features = ["hot_reload"], optional = true }
  14. dioxus-html-internal-macro = { workspace = true }
  15. generational-box = { workspace = true }
  16. serde = { version = "1", features = ["derive"], optional = true }
  17. serde_repr = { version = "0.1", optional = true }
  18. wasm-bindgen = { workspace = true, optional = true }
  19. euclid = "0.22.7"
  20. enumset = "1.1.2"
  21. keyboard-types = "0.7"
  22. async-trait = "0.1.58"
  23. serde-value = { version = "0.7.0", optional = true }
  24. tokio = { workspace = true, features = ["fs", "io-util"], optional = true }
  25. rfd = { version = "0.14", optional = true }
  26. futures-channel = { workspace = true }
  27. serde_json = { version = "1", optional = true }
  28. tracing.workspace = true
  29. [dependencies.web-sys]
  30. optional = true
  31. version = "0.3.56"
  32. features = [
  33. "Touch",
  34. "TouchList",
  35. "TouchEvent",
  36. "MouseEvent",
  37. "DragEvent",
  38. "InputEvent",
  39. "ClipboardEvent",
  40. "KeyboardEvent",
  41. "WheelEvent",
  42. "AnimationEvent",
  43. "TransitionEvent",
  44. "PointerEvent",
  45. "FocusEvent",
  46. "CompositionEvent",
  47. ]
  48. [dev-dependencies]
  49. serde_json = "1"
  50. [features]
  51. default = ["serialize", "mounted", "eval"]
  52. serialize = [
  53. "serde",
  54. "serde_json",
  55. "serde_repr",
  56. "euclid/serde",
  57. "keyboard-types/serde",
  58. "dioxus-core/serialize",
  59. "serde-value",
  60. ]
  61. mounted = [
  62. "web-sys?/Element",
  63. "web-sys?/DomRect",
  64. "web-sys?/ScrollIntoViewOptions",
  65. "web-sys?/ScrollLogicalPosition",
  66. "web-sys?/ScrollBehavior",
  67. "web-sys?/HtmlElement",
  68. ]
  69. eval = [
  70. "serde",
  71. "serde_json"
  72. ]
  73. wasm-bind = ["web-sys", "wasm-bindgen"]
  74. native-bind = ["tokio"]
  75. hot-reload-context = ["dioxus-rsx"]
  76. html-to-rsx = []