Cargo.toml 1.7 KB

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