Cargo.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. 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. recoil = { path = "../recoil" }
  24. # wasm-bindgen = "0.2.70"
  25. # futures = "0.3.12"
  26. # html-validation = { path = "../html-validation", version = "0.1.1" }
  27. async-channel = "1.6.1"
  28. # futures-lite = "1.11.3"
  29. [dependencies.web-sys]
  30. version = "0.3.50"
  31. features = [
  32. "Comment",
  33. "Document",
  34. "Element",
  35. "HtmlElement",
  36. "HtmlInputElement",
  37. "EventTarget",
  38. "HtmlCollection",
  39. "Node",
  40. "NodeList",
  41. "Text",
  42. "Window",
  43. "Event",
  44. "MouseEvent",
  45. "InputEvent",
  46. "ClipboardEvent",
  47. "KeyboardEvent",
  48. "TouchEvent",
  49. "WheelEvent",
  50. "AnimationEvent",
  51. "TransitionEvent",
  52. "PointerEvent",
  53. "FocusEvent",
  54. "CompositionEvent",
  55. "DocumentType",
  56. "CharacterData",
  57. "HtmlOptionElement",
  58. ]
  59. [profile.release]
  60. debug = true
  61. [lib]
  62. crate-type = ["cdylib", "rlib"]
  63. [dev-dependencies]
  64. uuid = { version = "0.8.2", features = ["v4", "wasm-bindgen"] }
  65. [[example]]
  66. name = "todomvc"
  67. path = "./examples/todomvc/main.rs"