Cargo.toml 2.0 KB

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