Cargo.toml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [package]
  2. name = "dioxus-native"
  3. version = { workspace = true }
  4. authors = ["Jonathan Kelley", "Nico Burns"]
  5. edition = "2021"
  6. description = "Native renderer for Dioxus based on blitz"
  7. license = "MIT OR Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. homepage = "https://dioxuslabs.com/learn/0.6/getting_started"
  10. keywords = ["dom", "ui", "gui", "react"]
  11. [features]
  12. default = ["accessibility", "hot-reload", "menu", "tracing", "net", "svg"]
  13. svg = ["blitz-dom/svg", "blitz-renderer-vello/svg"]
  14. net = ["dep:tokio", "dep:blitz-net"]
  15. accessibility = ["blitz-shell/accessibility", "blitz-dom/accessibility"]
  16. menu = ["blitz-shell/menu"]
  17. tracing = ["dep:tracing", "blitz-shell/tracing", "blitz-dom/tracing"]
  18. hot-reload = ["dep:dioxus-cli-config", "dep:dioxus-devtools"]
  19. autofocus = []
  20. [dependencies]
  21. # Blitz dependencies
  22. blitz-renderer-vello = { version = "0.1.0-alpha.1", default-features = false }
  23. blitz-dom = { version = "0.1.0-alpha.1", default-features = false }
  24. blitz-net = { version = "0.1.0-alpha.1", optional = true }
  25. blitz-traits = { version = "0.1.0-alpha.1" }
  26. blitz-shell = { version = "0.1.0-alpha.1", default-features = false }
  27. peniko = { version = "0.3.0" }
  28. # blitz-renderer-vello = { git = "https://github.com/dioxuslabs/blitz", rev="c1a7ecf06d1760a268e0046dc0e43f6c796ddc3c", default-features = false }
  29. # blitz-dom = { git = "https://github.com/dioxuslabs/blitz", rev="c1a7ecf06d1760a268e0046dc0e43f6c796ddc3c", default-features = false }
  30. # blitz-net = { git = "https://github.com/dioxuslabs/blitz", rev="c1a7ecf06d1760a268e0046dc0e43f6c796ddc3c", optional = true }
  31. # blitz-traits = { git = "https://github.com/dioxuslabs/blitz", rev="c1a7ecf06d1760a268e0046dc0e43f6c796ddc3c" }
  32. # blitz-shell = { git = "https://github.com/dioxuslabs/blitz", rev="c1a7ecf06d1760a268e0046dc0e43f6c796ddc3c", default-features = false }
  33. # DioxusLabs dependencies
  34. dioxus-core = { workspace = true }
  35. dioxus-html = { workspace = true }
  36. dioxus-asset-resolver = { workspace = true }
  37. dioxus-cli-config = { workspace = true, optional = true }
  38. dioxus-devtools = { workspace = true, optional = true }
  39. dioxus-history = { workspace = true }
  40. dioxus-document = { workspace = true }
  41. # Windowing & Input
  42. winit = { workspace = true }
  43. keyboard-types = { workspace = true }
  44. # IO & Networking
  45. tokio = { workspace = true, features = ["rt-multi-thread"], optional = true }
  46. # Other dependencies
  47. tracing = { workspace = true, optional = true }
  48. rustc-hash = { workspace = true }
  49. futures-util = { workspace = true }
  50. # wgpu
  51. wgpu = "23"
  52. [dev-dependencies]
  53. dioxus = { workspace = true }
  54. [package.metadata.docs.rs]
  55. all-features = true
  56. rustdoc-args = ["--cfg", "docsrs"]