Cargo.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. atoms = { path="../atoms" }
  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. wee_alloc = "0.4.5"
  29. # futures-lite = "1.11.3"
  30. [dependencies.web-sys]
  31. version = "0.3.50"
  32. features = [
  33. "Comment",
  34. "Document",
  35. # "DataTransfer",
  36. "Element",
  37. "HtmlElement",
  38. "HtmlInputElement",
  39. "HtmlSelectElement",
  40. "HtmlTextAreaElement",
  41. "EventTarget",
  42. "HtmlCollection",
  43. "Node",
  44. "NodeList",
  45. "Text",
  46. "Window",
  47. "Event",
  48. "MouseEvent",
  49. "InputEvent",
  50. "ClipboardEvent",
  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. # debug = true
  67. # [profile.release]
  68. [lib]
  69. crate-type = ["cdylib", "rlib"]
  70. [dev-dependencies]
  71. uuid = { version="0.8.2", features=["v4", "wasm-bindgen"] }
  72. [[example]]
  73. name = "todomvc"
  74. path = "./examples/todomvc/main.rs"