Cargo.toml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [package]
  2. name = "tauri-runtime-wry"
  3. version = "2.0.0-beta.1"
  4. description = "Wry bindings to the Tauri runtime"
  5. exclude = [ "CHANGELOG.md", "/target" ]
  6. readme = "README.md"
  7. authors = { workspace = true }
  8. homepage = { workspace = true }
  9. repository = { workspace = true }
  10. categories = { workspace = true }
  11. license = { workspace = true }
  12. edition = { workspace = true }
  13. rust-version = { workspace = true }
  14. [dependencies]
  15. wry = { version = "0.36", default-features = false, features = [ "file-drop", "protocol", "os-webview" ] }
  16. tao = { version = "0.25", default-features = false, features = [ "rwh_06" ] }
  17. tauri-runtime = { version = "2.0.0-beta.1", path = "../tauri-runtime" }
  18. tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils" }
  19. raw-window-handle = "0.6"
  20. http = "0.2"
  21. tracing = { version = "0.1", optional = true }
  22. [target."cfg(windows)".dependencies]
  23. webview2-com = "0.28"
  24. softbuffer = "0.4"
  25. [target."cfg(windows)".dependencies.windows]
  26. version = "0.52"
  27. features = [ "Win32_Foundation" ]
  28. [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
  29. gtk = { version = "0.18", features = [ "v3_24" ] }
  30. webkit2gtk = { version = "=2.0", features = [ "v2_38" ] }
  31. percent-encoding = "2.1"
  32. [target."cfg(any(target_os = \"ios\", target_os = \"macos\"))".dependencies]
  33. cocoa = "0.25"
  34. [target."cfg(target_os = \"android\")".dependencies]
  35. jni = "0.21"
  36. [features]
  37. devtools = [ "wry/devtools", "tauri-runtime/devtools" ]
  38. macos-private-api = [
  39. "wry/fullscreen",
  40. "wry/transparent",
  41. "tauri-runtime/macos-private-api"
  42. ]
  43. objc-exception = [ "wry/objc-exception" ]
  44. linux-protocol-body = [ "wry/linux-body", "webkit2gtk/v2_40" ]
  45. tracing = [ "dep:tracing", "wry/tracing" ]
  46. macos-proxy = [ "wry/mac-proxy" ]