Cargo.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. js-sys = "0.3"
  12. wasm-bindgen = { version="0.2.71", features=["enable-interning"] }
  13. lazy_static = "1.4.0"
  14. wasm-bindgen-futures = "0.4.20"
  15. wasm-logger = "0.2.0"
  16. log = "0.4.14"
  17. fxhash = "0.2.1"
  18. pretty_env_logger = "0.4.0"
  19. console_error_panic_hook = "0.1.6"
  20. generational-arena = "0.2.8"
  21. wasm-bindgen-test = "0.3.21"
  22. once_cell = "1.7.2"
  23. atoms = { path="../atoms" }
  24. async-channel = "1.6.1"
  25. anyhow = "1.0.41"
  26. slotmap = "1.0.3"
  27. [dependencies.web-sys]
  28. version = "0.3.50"
  29. features = [
  30. "Comment",
  31. "Attr",
  32. "Document",
  33. "Element",
  34. "HtmlElement",
  35. "HtmlInputElement",
  36. "HtmlSelectElement",
  37. "HtmlTextAreaElement",
  38. "EventTarget",
  39. "HtmlCollection",
  40. "Node",
  41. "NodeList",
  42. "Text",
  43. "Window",
  44. "Event",
  45. "MouseEvent",
  46. "InputEvent",
  47. "ClipboardEvent",
  48. "NamedNodeMap",
  49. "KeyboardEvent",
  50. "TouchEvent",
  51. "WheelEvent",
  52. "AnimationEvent",
  53. "TransitionEvent",
  54. "PointerEvent",
  55. "FocusEvent",
  56. "CompositionEvent",
  57. "DocumentType",
  58. "CharacterData",
  59. "HtmlOptionElement",
  60. ]
  61. [profile.release]
  62. lto = true
  63. opt-level = 's'
  64. [lib]
  65. crate-type = ["cdylib", "rlib"]
  66. [dev-dependencies]
  67. im-rc = "15.0.0"
  68. rand = { version="0.8.4", features=["small_rng"] }
  69. separator = "0.4.1"
  70. uuid = { version="0.8.2", features=["v4", "wasm-bindgen"] }