Cargo.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. [package]
  2. name = "dioxus-web"
  3. version = "0.0.0"
  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 = [
  12. "dom",
  13. "ui",
  14. "userinterface",
  15. "gui",
  16. "react",
  17. "state",
  18. "management",
  19. "wasm",
  20. "web",
  21. "ssr",
  22. ]
  23. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  24. [dependencies]
  25. dioxus-core = { path = "../core", version = "^0.1.3" }
  26. dioxus-html = { path = "../html" }
  27. js-sys = "0.3"
  28. # wasm-bindgen-shared = { path = "../../../Tinkering/wasm-bindgen/crates/shared" }
  29. # wasm-bindgen-macro-support = { path = "../../../Tinkering/wasm-bindgen/crates/macro-support" }
  30. # wasm-bindgen = { features = [
  31. wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  32. # wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  33. # wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  34. lazy_static = "1.4.0"
  35. wasm-bindgen-futures = "0.4.20"
  36. log = { version = "0.4.14", features = ["release_max_level_off"] }
  37. fxhash = "0.2.1"
  38. wasm-logger = "0.2.0"
  39. console_error_panic_hook = "0.1.6"
  40. wasm-bindgen-test = "0.3.21"
  41. once_cell = "1.8"
  42. async-channel = "1.6.1"
  43. anyhow = "1.0"
  44. gloo-timers = { version = "0.2.1", features = ["futures"] }
  45. futures-util = "0.3.15"
  46. smallstr = "0.2.0"
  47. [dependencies.web-sys]
  48. version = "0.3.51"
  49. features = [
  50. "Comment",
  51. "Attr",
  52. "Document",
  53. "Element",
  54. "CssStyleDeclaration",
  55. "HtmlElement",
  56. "HtmlInputElement",
  57. "HtmlSelectElement",
  58. "HtmlTextAreaElement",
  59. "EventTarget",
  60. "HtmlCollection",
  61. "Node",
  62. "NodeList",
  63. "Text",
  64. "Window",
  65. "Event",
  66. "MouseEvent",
  67. "InputEvent",
  68. "ClipboardEvent",
  69. "NamedNodeMap",
  70. "KeyboardEvent",
  71. "TouchEvent",
  72. "WheelEvent",
  73. "AnimationEvent",
  74. "TransitionEvent",
  75. "PointerEvent",
  76. "FocusEvent",
  77. "CompositionEvent",
  78. "ClipboardEvent",
  79. "DocumentType",
  80. "CharacterData",
  81. "SvgElement",
  82. "SvgAnimatedString",
  83. "HtmlOptionElement",
  84. "IdleDeadline",
  85. ]
  86. [lib]
  87. crate-type = ["cdylib", "rlib"]
  88. [dev-dependencies]
  89. im-rc = "15.0.0"
  90. separator = "0.4.1"
  91. uuid = { version = "0.8.2", features = ["v4", "wasm-bindgen"] }
  92. serde = { version = "1.0.126", features = ["derive"] }
  93. reqwest = { version = "0.11", features = ["json"] }
  94. dioxus-hooks = { path = "../hooks" }
  95. dioxus-core-macro = { path = "../core-macro" }
  96. rand = { version = "0.8.4", features = ["small_rng"] }
  97. [dev-dependencies.getrandom]
  98. version = "0.2"
  99. features = ["js"]
  100. # surf = { version = "2.3.1", default-features = false, features = [
  101. # "wasm-client",
  102. # ] }