Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. futures-util = "0.3.15"
  23. smallvec = "1.6.1"
  24. slab = "0.4.3"
  25. futures-channel = "0.3.16"
  26. # used for noderefs
  27. once_cell = "1.8.0"
  28. # # Serialize the Edits for use in Webview/Liveview instances
  29. serde = { version = "1", features = ["derive"], optional = true }
  30. [dev-dependencies]
  31. anyhow = "1.0.42"
  32. async-std = { version = "1.9.0", features = ["attributes"] }
  33. criterion = "0.3.5"
  34. dioxus-html = { path = "../html" }
  35. fern = { version = "0.6.0", features = ["colored"] }
  36. simple_logger = "1.13.0"
  37. [features]
  38. default = ["serialize"]
  39. serialize = ["serde"]
  40. [[bench]]
  41. name = "create"
  42. harness = false