Cargo.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. futures-util = "0.3.15"
  29. [dependencies.web-sys]
  30. version = "0.3.50"
  31. features = [
  32. "Comment",
  33. "Attr",
  34. "Document",
  35. "Element",
  36. "HtmlElement",
  37. "HtmlInputElement",
  38. "HtmlSelectElement",
  39. "HtmlTextAreaElement",
  40. "EventTarget",
  41. "HtmlCollection",
  42. "Node",
  43. "NodeList",
  44. "Text",
  45. "Window",
  46. "Event",
  47. "MouseEvent",
  48. "InputEvent",
  49. "ClipboardEvent",
  50. "NamedNodeMap",
  51. "KeyboardEvent",
  52. "TouchEvent",
  53. "WheelEvent",
  54. "AnimationEvent",
  55. "TransitionEvent",
  56. "PointerEvent",
  57. "FocusEvent",
  58. "CompositionEvent",
  59. "DocumentType",
  60. "CharacterData",
  61. "HtmlOptionElement",
  62. ]
  63. [profile.release]
  64. lto = true
  65. opt-level = 's'
  66. [lib]
  67. crate-type = ["cdylib", "rlib"]
  68. [dev-dependencies]
  69. im-rc = "15.0.0"
  70. # rand = { version="0.8.4", features=["small_rng"] }
  71. separator = "0.4.1"
  72. uuid = { version="0.8.2", features=["v4", "wasm-bindgen"] }
  73. dioxus-hooks = { path="../hooks" }
  74. gloo-timers = { version="0.2.1", features=["futures"] }
  75. # wasm-timer = "0.2.5"