Cargo.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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 = ["dom", "ui", "gui", "react", "wasm"]
  12. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  13. [dependencies]
  14. dioxus-core = { path = "../core", version ="^0.1.3"}
  15. dioxus-html = { path = "../html" }
  16. js-sys = "0.3"
  17. # wasm-bindgen-shared = { path = "../../../Tinkering/wasm-bindgen/crates/shared" }
  18. # wasm-bindgen-macro-support = { path = "../../../Tinkering/wasm-bindgen/crates/macro-support" }
  19. # wasm-bindgen = { features = [
  20. wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  21. # wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  22. # wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  23. lazy_static = "1.4.0"
  24. wasm-bindgen-futures = "0.4.20"
  25. log = { version = "0.4.14", features = ["release_max_level_off"] }
  26. fxhash = "0.2.1"
  27. wasm-logger = "0.2.0"
  28. console_error_panic_hook = "0.1.6"
  29. wasm-bindgen-test = "0.3.21"
  30. once_cell = "1.8"
  31. async-channel = "1.6.1"
  32. anyhow = "1.0"
  33. gloo-timers = { version = "0.2.1", features = ["futures"] }
  34. futures-util = "0.3.15"
  35. smallstr = "0.2.0"
  36. [dependencies.web-sys]
  37. version = "0.3.51"
  38. features = [
  39. "Comment",
  40. "Attr",
  41. "Document",
  42. "Element",
  43. "CssStyleDeclaration",
  44. "HtmlElement",
  45. "HtmlInputElement",
  46. "HtmlSelectElement",
  47. "HtmlTextAreaElement",
  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. ]
  75. [lib]
  76. crate-type = ["cdylib", "rlib"]
  77. [dev-dependencies]
  78. im-rc = "15.0.0"
  79. separator = "0.4.1"
  80. uuid = { version = "0.8.2", features = ["v4", "wasm-bindgen"] }
  81. serde = { version = "1.0.126", features = ["derive"] }
  82. reqwest = { version = "0.11", features = ["json"] }
  83. dioxus-hooks = { path = "../hooks" }
  84. dioxus-core-macro = { path = "../core-macro" }
  85. rand = { version = "0.8.4", features = ["small_rng"] }
  86. [dev-dependencies.getrandom]
  87. version = "0.2"
  88. features = ["js"]
  89. # surf = { version = "2.3.1", default-features = false, features = [
  90. # "wasm-client",
  91. # ] }