Cargo.toml 2.0 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. 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. console_error_panic_hook = "0.1.6"
  20. generational-arena = "0.2.8"
  21. wasm-bindgen-test = "0.3.21"
  22. once_cell = "1.8"
  23. async-channel = "1.6.1"
  24. anyhow = "1.0"
  25. futures-util = "0.3.15"
  26. [dependencies.web-sys]
  27. version = "0.3.51"
  28. features = [
  29. "Comment",
  30. "Attr",
  31. "Document",
  32. "Element",
  33. "CssStyleDeclaration",
  34. "HtmlElement",
  35. "HtmlInputElement",
  36. "HtmlSelectElement",
  37. "HtmlTextAreaElement",
  38. "EventTarget",
  39. "HtmlCollection",
  40. "Node",
  41. "NodeList",
  42. "Text",
  43. "Window",
  44. "Event",
  45. "MouseEvent",
  46. "InputEvent",
  47. "ClipboardEvent",
  48. "NamedNodeMap",
  49. "KeyboardEvent",
  50. "TouchEvent",
  51. "WheelEvent",
  52. "AnimationEvent",
  53. "TransitionEvent",
  54. "PointerEvent",
  55. "FocusEvent",
  56. "CompositionEvent",
  57. "ClipboardEvent",
  58. "DocumentType",
  59. "CharacterData",
  60. "SvgElement",
  61. "SvgAnimatedString",
  62. "HtmlOptionElement",
  63. ]
  64. [profile.release]
  65. lto = true
  66. opt-level = 's'
  67. [lib]
  68. crate-type = ["cdylib", "rlib"]
  69. [dev-dependencies]
  70. im-rc = "15.0.0"
  71. # rand = { version="0.8.4", features=["small_rng"] }
  72. separator = "0.4.1"
  73. uuid = { version = "0.8.2", features = ["v4", "wasm-bindgen"] }
  74. dioxus-hooks = { path = "../hooks" }
  75. gloo-timers = { version = "0.2.1", features = ["futures"] }
  76. serde = { version = "1.0.126", features = ["derive"] }
  77. surf = { git = "https://github.com/http-rs/surf", rev = "1ffaba8873", default-features = false, features = [
  78. "wasm-client",
  79. ] }
  80. # wasm-timer = "0.2.5"