Cargo.toml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. [package]
  2. name = "tauri"
  3. version = "2.0.0-alpha.10"
  4. description = "Make tiny, secure apps for all desktop platforms with Tauri"
  5. exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
  6. readme = "README.md"
  7. links = "Tauri"
  8. authors = { workspace = true }
  9. homepage = { workspace = true }
  10. repository = { workspace = true }
  11. categories = { workspace = true }
  12. license = { workspace = true }
  13. edition = { workspace = true }
  14. rust-version = { workspace = true }
  15. [package.metadata.docs.rs]
  16. no-default-features = true
  17. features = [
  18. "wry",
  19. "custom-protocol",
  20. "system-tray",
  21. "devtools",
  22. "icon-png",
  23. "protocol-asset",
  24. "test",
  25. "dox"
  26. ]
  27. rustdoc-args = [ "--cfg", "doc_cfg" ]
  28. default-target = "x86_64-unknown-linux-gnu"
  29. targets = [
  30. "x86_64-pc-windows-msvc",
  31. "x86_64-unknown-linux-gnu",
  32. "x86_64-apple-darwin"
  33. ]
  34. [package.metadata.cargo-udeps.ignore]
  35. normal = [ "reqwest" ]
  36. build = [ "tauri-build" ]
  37. [dependencies]
  38. serde_json = { version = "1.0", features = [ "raw_value" ] }
  39. serde = { version = "1.0", features = [ "derive" ] }
  40. tokio = { version = "1", features = [ "rt", "rt-multi-thread", "sync", "fs", "io-util" ] }
  41. futures-util = "0.3"
  42. uuid = { version = "1", features = [ "v4" ] }
  43. url = { version = "2.3" }
  44. anyhow = "1.0"
  45. thiserror = "1.0"
  46. once_cell = "1"
  47. tauri-runtime = { version = "0.13.0-alpha.6", path = "../tauri-runtime" }
  48. tauri-macros = { version = "2.0.0-alpha.6", path = "../tauri-macros" }
  49. tauri-utils = { version = "2.0.0-alpha.6", features = [ "resources" ], path = "../tauri-utils" }
  50. tauri-runtime-wry = { version = "0.13.0-alpha.6", path = "../tauri-runtime-wry", optional = true }
  51. rand = "0.8"
  52. semver = { version = "1.0", features = [ "serde" ] }
  53. serde_repr = "0.1"
  54. state = "0.6"
  55. tempfile = "3"
  56. http = "0.2"
  57. dirs-next = "2.0"
  58. percent-encoding = "2.2"
  59. reqwest = { version = "0.11", default-features = false, features = [ "json", "stream" ] }
  60. bytes = { version = "1", features = [ "serde" ] }
  61. raw-window-handle = "0.5"
  62. glob = "0.3"
  63. data-url = { version = "0.2", optional = true }
  64. serialize-to-javascript = "=0.1.1"
  65. infer = { version = "0.9", optional = true }
  66. png = { version = "0.17", optional = true }
  67. ico = { version = "0.2.0", optional = true }
  68. [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
  69. gtk = { version = "0.16", features = [ "v3_24" ] }
  70. glib = "0.16"
  71. webkit2gtk = { version = "0.19.1", features = [ "v2_38" ] }
  72. [target."cfg(target_os = \"macos\")".dependencies]
  73. embed_plist = "1.2"
  74. cocoa = "0.24"
  75. objc = "0.2"
  76. [target."cfg(windows)".dependencies]
  77. webview2-com = "0.22"
  78. [target."cfg(windows)".dependencies.windows]
  79. version = "0.44"
  80. features = [ "Win32_Foundation" ]
  81. [target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
  82. log = "0.4"
  83. heck = "0.4"
  84. [target."cfg(target_os = \"android\")".dependencies]
  85. jni = "0.20"
  86. [target."cfg(target_os = \"ios\")".dependencies]
  87. libc = "0.2"
  88. objc = "0.2"
  89. cocoa = "0.24"
  90. swift-rs = "1.0.4"
  91. [build-dependencies]
  92. heck = "0.4"
  93. once_cell = "1"
  94. tauri-build = { path = "../tauri-build/", version = "2.0.0-alpha.1" }
  95. [dev-dependencies]
  96. proptest = "1.0.0"
  97. quickcheck = "1.0.3"
  98. quickcheck_macros = "1.0.0"
  99. serde = { version = "1.0", features = [ "derive" ] }
  100. serde_json = "1.0"
  101. tauri = { path = ".", default-features = false, features = [ "wry" ] }
  102. tokio = { version = "1", features = [ "full" ] }
  103. cargo_toml = "0.15"
  104. [features]
  105. default = [ "wry", "compression", "objc-exception" ]
  106. test = [ ]
  107. compression = [ "tauri-macros/compression", "tauri-utils/compression" ]
  108. wry = [ "tauri-runtime-wry" ]
  109. objc-exception = [ "tauri-runtime-wry/objc-exception" ]
  110. linux-protocol-headers = [ "tauri-runtime-wry/linux-headers", "webkit2gtk/v2_36" ]
  111. isolation = [ "tauri-utils/isolation", "tauri-macros/isolation" ]
  112. custom-protocol = [ "tauri-macros/custom-protocol" ]
  113. native-tls = [ "reqwest/native-tls" ]
  114. native-tls-vendored = [ "reqwest/native-tls-vendored" ]
  115. rustls-tls = [ "reqwest/rustls-tls" ]
  116. system-tray = [ "tauri-runtime/system-tray", "tauri-runtime-wry/system-tray" ]
  117. devtools = [ "tauri-runtime/devtools", "tauri-runtime-wry/devtools" ]
  118. dox = [ "tauri-runtime-wry/dox" ]
  119. process-relaunch-dangerous-allow-symlink-macos = [ "tauri-utils/process-relaunch-dangerous-allow-symlink-macos" ]
  120. macos-private-api = [
  121. "tauri-runtime/macos-private-api",
  122. "tauri-runtime-wry/macos-private-api"
  123. ]
  124. window-data-url = [ "data-url" ]
  125. protocol-asset = [ ]
  126. config-json5 = [ "tauri-macros/config-json5" ]
  127. config-toml = [ "tauri-macros/config-toml" ]
  128. icon-ico = [ "infer", "ico" ]
  129. icon-png = [ "infer", "png" ]
  130. [[example]]
  131. name = "commands"
  132. path = "../../examples/commands/main.rs"
  133. [[example]]
  134. name = "helloworld"
  135. path = "../../examples/helloworld/main.rs"
  136. [[example]]
  137. name = "multiwindow"
  138. path = "../../examples/multiwindow/main.rs"
  139. [[example]]
  140. name = "parent-window"
  141. path = "../../examples/parent-window/main.rs"
  142. [[example]]
  143. name = "navigation"
  144. path = "../../examples/navigation/main.rs"
  145. [[example]]
  146. name = "splashscreen"
  147. path = "../../examples/splashscreen/main.rs"
  148. [[example]]
  149. name = "state"
  150. path = "../../examples/state/main.rs"
  151. [[example]]
  152. name = "streaming"
  153. path = "../../examples/streaming/main.rs"
  154. [[example]]
  155. name = "isolation"
  156. path = "../../examples/isolation/main.rs"
  157. required-features = [ "isolation" ]