Cargo.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [package]
  2. name = "dioxus-desktop"
  3. version = "0.2.3"
  4. authors = ["Jonathan Kelley"]
  5. edition = "2018"
  6. description = "Dioxus VirtualDOM renderer for a remote webview instance"
  7. license = "MIT/Apache-2.0"
  8. repository = "https://github.com/DioxusLabs/dioxus/"
  9. homepage = "https://dioxuslabs.com"
  10. documentation = "https://dioxuslabs.com"
  11. keywords = ["dom", "ui", "gui", "react", "wasm"]
  12. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  13. [dependencies]
  14. dioxus-core = { path = "../core", version = "^0.2.1", features = ["serialize"] }
  15. dioxus-html = { path = "../html", features = ["serialize"], version = "^0.2.1" }
  16. dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.1" }
  17. dioxus-rsx-interpreter = { path = "../rsx_interpreter", optional = true }
  18. serde = "1.0.136"
  19. serde_json = "1.0.79"
  20. thiserror = "1.0.30"
  21. log = "0.4.14"
  22. wry = { version = "0.16.0" }
  23. futures-channel = "0.3.21"
  24. tokio = { version = "1.16.1", features = [
  25. "sync",
  26. "rt-multi-thread",
  27. "rt",
  28. "time",
  29. ], optional = true, default-features = false }
  30. webbrowser = "0.7.1"
  31. mime_guess = "2.0.3"
  32. dunce = "1.0.2"
  33. interprocess = { version = "1.1.1", optional = true }
  34. [target.'cfg(target_os = "macos")'.dependencies]
  35. core-foundation = "0.9.3"
  36. [features]
  37. default = ["tokio_runtime"]
  38. tokio_runtime = ["tokio"]
  39. fullscreen = ["wry/fullscreen"]
  40. transparent = ["wry/transparent"]
  41. tray = ["wry/tray"]
  42. hot_reload = ["dioxus-rsx-interpreter", "interprocess"]
  43. [dev-dependencies]
  44. dioxus-core-macro = { path = "../core-macro" }
  45. dioxus-hooks = { path = "../hooks" }
  46. # image = "0.24.0" # enable this when generating a new desktop image