Cargo.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. # faster hashmaps
  15. fxhash = "0.2.1"
  16. # Used in diffing
  17. longest-increasing-subsequence = "0.1.0"
  18. # internall used
  19. log = { verison = "0.4", features = ["release_max_level_off"] }
  20. futures-util = "0.3.15"
  21. smallvec = "1.6.1"
  22. slab = "0.4.3"
  23. futures-channel = "0.3.16"
  24. # used for noderefs
  25. once_cell = "1.8.0"
  26. # # Serialize the Edits for use in Webview/Liveview instances
  27. serde = { version = "1", features = ["derive"], optional = true }
  28. indexmap = "1.7.0"
  29. [dev-dependencies]
  30. anyhow = "1.0.42"
  31. async-std = { version = "1.9.0", features = ["attributes"] }
  32. criterion = "0.3.5"
  33. dioxus-html = { path = "../html" }
  34. fern = { version = "0.6.0", features = ["colored"] }
  35. rand = { version = "0.8.4", features = ["small_rng"] }
  36. simple_logger = "1.13.0"
  37. [features]
  38. default = ["serialize"]
  39. serialize = ["serde"]
  40. [[bench]]
  41. name = "create"
  42. harness = false
  43. [[bench]]
  44. name = "jsframework"
  45. harness = false