Cargo.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. [package]
  2. name = "dioxus-web"
  3. version = "0.0.0"
  4. authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
  5. edition = "2018"
  6. description = "Dioxus VirtualDOM renderer for the web browser using websys"
  7. license = "MIT/Apache-2.0"
  8. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  9. [dependencies]
  10. dioxus-core = { path = "../core", version = "0.1.2" }
  11. dioxus-html = { path = "../html" }
  12. js-sys = "0.3"
  13. # wasm-bindgen-shared = { path = "../../../Tinkering/wasm-bindgen/crates/shared" }
  14. # wasm-bindgen-macro-support = { path = "../../../Tinkering/wasm-bindgen/crates/macro-support" }
  15. # wasm-bindgen = { features = [
  16. wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  17. # wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  18. # wasm-bindgen = { version = "0.2.78", features = ["enable-interning"] }
  19. lazy_static = "1.4.0"
  20. wasm-bindgen-futures = "0.4.20"
  21. log = { version = "0.4.14", features = ["release_max_level_off"] }
  22. fxhash = "0.2.1"
  23. wasm-logger = "0.2.0"
  24. console_error_panic_hook = "0.1.6"
  25. wasm-bindgen-test = "0.3.21"
  26. once_cell = "1.8"
  27. async-channel = "1.6.1"
  28. anyhow = "1.0"
  29. gloo-timers = { version = "0.2.1", features = ["futures"] }
  30. futures-util = "0.3.15"
  31. smallstr = "0.2.0"
  32. [dependencies.web-sys]
  33. version = "0.3.51"
  34. features = [
  35. "Comment",
  36. "Attr",
  37. "Document",
  38. "Element",
  39. "CssStyleDeclaration",
  40. "HtmlElement",
  41. "HtmlInputElement",
  42. "HtmlSelectElement",
  43. "HtmlTextAreaElement",
  44. "EventTarget",
  45. "HtmlCollection",
  46. "Node",
  47. "NodeList",
  48. "Text",
  49. "Window",
  50. "Event",
  51. "MouseEvent",
  52. "InputEvent",
  53. "ClipboardEvent",
  54. "NamedNodeMap",
  55. "KeyboardEvent",
  56. "TouchEvent",
  57. "WheelEvent",
  58. "AnimationEvent",
  59. "TransitionEvent",
  60. "PointerEvent",
  61. "FocusEvent",
  62. "CompositionEvent",
  63. "ClipboardEvent",
  64. "DocumentType",
  65. "CharacterData",
  66. "SvgElement",
  67. "SvgAnimatedString",
  68. "HtmlOptionElement",
  69. "IdleDeadline",
  70. ]
  71. [lib]
  72. crate-type = ["cdylib", "rlib"]
  73. [dev-dependencies]
  74. im-rc = "15.0.0"
  75. separator = "0.4.1"
  76. uuid = { version = "0.8.2", features = ["v4", "wasm-bindgen"] }
  77. serde = { version = "1.0.126", features = ["derive"] }
  78. reqwest = { version = "0.11", features = ["json"] }
  79. dioxus-hooks = { path = "../hooks" }
  80. dioxus-core-macro = { path = "../core-macro" }
  81. rand = { version = "0.8.4", features = ["small_rng"] }
  82. [dev-dependencies.getrandom]
  83. version = "0.2"
  84. features = ["js"]
  85. # surf = { version = "2.3.1", default-features = false, features = [
  86. # "wasm-client",
  87. # ] }