Cargo.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [package]
  2. name = "dioxus-desktop"
  3. version = "0.2.2"
  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.0", features = ["serialize"] }
  15. dioxus-html = { path = "../html", features = ["serialize"], version = "^0.2.0" }
  16. dioxus-interpreter-js = { path = "../interpreter", version = "^0.2.0" }
  17. serde = "1.0.136"
  18. serde_json = "1.0.79"
  19. thiserror = "1.0.30"
  20. log = "0.4.14"
  21. wry = { version = "0.13.1" }
  22. futures-channel = "0.3.21"
  23. tokio = { version = "1.16.1", features = [
  24. "sync",
  25. "rt-multi-thread",
  26. "rt",
  27. "time",
  28. ], optional = true, default-features = false }
  29. webbrowser = "0.6.0"
  30. mime_guess = "2.0.3"
  31. dunce = "1.0.2"
  32. [target.'cfg(target_os = "macos")'.dependencies]
  33. core-foundation = "0.9.3"
  34. [features]
  35. default = ["tokio_runtime"]
  36. tokio_runtime = ["tokio"]
  37. devtool = ["wry/devtool"]
  38. fullscreen = ["wry/fullscreen"]
  39. transparent = ["wry/transparent"]
  40. tray = ["wry/tray"]
  41. ayatana = ["wry/ayatana"]
  42. [dev-dependencies]
  43. dioxus-core-macro = { path = "../core-macro" }
  44. dioxus-hooks = { path = "../hooks" }
  45. # image = "0.24.0" # enable this when generating a new desktop image