Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [package]
  2. name = "dioxus-native-core"
  3. version = { workspace = true }
  4. edition = "2021"
  5. license = "MIT OR Apache-2.0"
  6. repository = "https://github.com/DioxusLabs/dioxus/"
  7. homepage = "https://dioxuslabs.com"
  8. description = "Build natively rendered apps with Dioxus"
  9. keywords = ["dom", "ui", "gui", "react"]
  10. authors = ["Jonathan Kelley", "Evan Almloff"]
  11. [dependencies]
  12. dioxus-core = { workspace = true, optional = true }
  13. keyboard-types = "0.7"
  14. smallvec = "1.6"
  15. rustc-hash = { workspace = true }
  16. anymap = "1.0.0-beta.2"
  17. slab = { workspace = true }
  18. parking_lot = { version = "0.12.1", features = ["send_guard"] }
  19. dashmap = "5.4.0"
  20. # for parsing attributes
  21. taffy = { version = "0.3.12", optional = true }
  22. lightningcss = { version = "1.0.0-alpha.39", optional = true }
  23. rayon = "1.6.1"
  24. shipyard = { version = "0.6.2", features = ["proc", "std"], default-features = false }
  25. [dev-dependencies]
  26. rand = "0.8.5"
  27. dioxus = { workspace = true }
  28. tokio = { workspace = true, features = ["full"] }
  29. dioxus-native-core = { workspace = true, features = ["dioxus"] }
  30. dioxus-native-core-macro = { workspace = true }
  31. [features]
  32. default = []
  33. layout-attributes = ["dep:taffy", "dep:lightningcss"]
  34. dioxus = ["dioxus-core"]
  35. parallel = ["shipyard/parallel"]