Cargo.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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 = "0.2.71"
  13. # wasm-bindgen = "0.2.70"
  14. lazy_static = "1.4.0"
  15. wasm-bindgen-futures = "0.4.20"
  16. # futures = "0.3.12"
  17. wasm-logger = "0.2.0"
  18. log = "0.4.14"
  19. fxhash = "0.2.1"
  20. pretty_env_logger = "0.4.0"
  21. console_error_panic_hook = "0.1.6"
  22. generational-arena = "0.2.8"
  23. wasm-bindgen-test = "0.3.21"
  24. once_cell = "1.7.2"
  25. # html-validation = { path = "../html-validation", version = "0.1.1" }
  26. async-channel = "1.6.1"
  27. # futures-lite = "1.11.3"
  28. [dependencies.web-sys]
  29. version = "0.3.50"
  30. features = [
  31. "Comment",
  32. "Document",
  33. "Element",
  34. "HtmlElement",
  35. "HtmlInputElement",
  36. "EventTarget",
  37. "HtmlCollection",
  38. "Node",
  39. "NodeList",
  40. "Text",
  41. "Window",
  42. "Event",
  43. "MouseEvent",
  44. "InputEvent",
  45. "ClipboardEvent",
  46. "KeyboardEvent",
  47. "TouchEvent",
  48. "WheelEvent",
  49. "AnimationEvent",
  50. "TransitionEvent",
  51. "PointerEvent",
  52. "FocusEvent",
  53. "CompositionEvent",
  54. "DocumentType",
  55. "CharacterData",
  56. "HtmlOptionElement",
  57. ] # "FormEvent",
  58. # "UIEvent",
  59. # "ToggleEvent",
  60. # "MediaEvent",
  61. # "SelectionEvent",
  62. [profile.release]
  63. debug = true
  64. [lib]
  65. crate-type = ["cdylib", "rlib"]
  66. [dev-dependencies]
  67. uuid = { version = "0.8.2", features = ["v4", "wasm-bindgen"] }
  68. [[example]]
  69. name = "todomvc"
  70. path = "./examples/todomvc/main.rs"