Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. smallvec = "1.6.1"
  25. # Backs scopes and unique keys
  26. slotmap = "1.0.3"
  27. # backs the fiber system for suspended components
  28. # todo: would like to use something smaller or just roll our own futures manually
  29. futures = "0.3.15"
  30. [features]
  31. default = ["serialize"]
  32. # default = []
  33. serialize = ["slotmap/serde", "serde"]