Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [package]
  2. name = "dioxus-core"
  3. version = "0.1.2"
  4. authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
  5. edition = "2018"
  6. description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
  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. # todo: use wast for faster load/compile
  11. dioxus-core-macro = { path = "../core-macro", version = "0.1.1" }
  12. # Bumpalo is used as a micro heap backing each component
  13. bumpalo = { version = "3.6.0", features = ["collections", "boxed"] }
  14. # custom error type
  15. thiserror = "1"
  16. # faster hashmaps
  17. fxhash = "0.2.1"
  18. # Used in diffing
  19. longest-increasing-subsequence = "0.1.0"
  20. # internall used
  21. log = "0.4"
  22. # # Serialize the Edits for use in Webview/Liveview instances
  23. serde = { version = "1", features = ["derive"], optional = true }
  24. appendlist = "1.4.0"
  25. futures-util = "0.3.15"
  26. smallvec = "1.6.1"
  27. slab = "0.4.3"
  28. futures-channel = "0.3.16"
  29. # used for noderefs
  30. once_cell = "1.8.0"
  31. indexmap = "1.7.0"
  32. [dev-dependencies]
  33. anyhow = "1.0.42"
  34. async-std = { version = "1.9.0", features = ["attributes"] }
  35. dioxus-html = { path = "../html" }
  36. [features]
  37. default = ["serialize"]
  38. serialize = ["serde"]