Cargo.toml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. [package]
  2. name = "tauri"
  3. version = "1.0.0-beta.8"
  4. authors = [ "Tauri Programme within The Commons Conservancy" ]
  5. categories = [ "gui", "web-programming" ]
  6. license = "Apache-2.0 OR MIT"
  7. homepage = "https://tauri.studio"
  8. repository = "https://github.com/tauri-apps/tauri"
  9. description = "Make tiny, secure apps for all desktop platforms with Tauri"
  10. edition = "2021"
  11. rust-version = "1.56"
  12. exclude = [
  13. "/test",
  14. "/.scripts",
  15. ".license_template",
  16. "CHANGELOG.md",
  17. "/target"
  18. ]
  19. readme = "README.md"
  20. [package.metadata.docs.rs]
  21. default-features = false
  22. features = ["wry", "custom-protocol", "api-all", "cli", "updater", "system-tray", "dox"]
  23. rustdoc-args = [ "--cfg", "doc_cfg" ]
  24. default-target = "x86_64-unknown-linux-gnu"
  25. targets = [
  26. "x86_64-pc-windows-msvc",
  27. "x86_64-unknown-linux-gnu",
  28. "x86_64-apple-darwin"
  29. ]
  30. [package.metadata.cargo-udeps.ignore]
  31. normal = [ "attohttpc" ]
  32. [dependencies]
  33. serde_json = { version = "1.0", features = [ "raw_value" ] }
  34. serde = { version = "1.0", features = [ "derive" ] }
  35. tokio = { version = "1.15", features = [ "rt", "rt-multi-thread", "sync", "fs", "io-util" ] }
  36. futures = "0.3"
  37. uuid = { version = "0.8", features = [ "v4" ] }
  38. url = { version = "2.2" }
  39. thiserror = "1.0"
  40. once_cell = "1.9"
  41. tauri-runtime = { version = "0.2.1", path = "../tauri-runtime" }
  42. tauri-macros = { version = "1.0.0-beta.5", path = "../tauri-macros" }
  43. tauri-utils = { version = "1.0.0-beta.3", path = "../tauri-utils" }
  44. tauri-runtime-wry = { version = "0.2.1", path = "../tauri-runtime-wry", optional = true }
  45. rand = "0.8"
  46. tempfile = "3"
  47. semver = "1.0"
  48. serde_repr = "0.1"
  49. zip = "0.5"
  50. ignore = "0.4"
  51. either = "1.6"
  52. tar = "0.4"
  53. flate2 = "1.0"
  54. http = "0.2"
  55. state = "0.5"
  56. bincode = "1.3"
  57. dirs-next = "2.0"
  58. percent-encoding = "2.1"
  59. base64 = { version = "0.13", optional = true }
  60. clap = { version = "=3.0.4", optional = true }
  61. notify-rust = { version = "4.5", optional = true }
  62. reqwest = { version = "0.11", features = [ "json", "multipart" ], optional = true }
  63. bytes = { version = "1", features = [ "serde" ], optional = true }
  64. attohttpc = { version = "0.18", features = [ "json", "form" ] }
  65. open = { version = "2.0", optional = true }
  66. shared_child = { version = "1.0", optional = true }
  67. os_pipe = { version = "1.0", optional = true }
  68. rfd = { version = "0.6.3", features = [ "parent" ] }
  69. raw-window-handle = "0.4.2"
  70. minisign-verify = { version = "0.2", optional = true }
  71. os_info = { version = "3.0.9", optional = true }
  72. futures-lite = "1.12"
  73. epi = { git = "https://github.com/wusyong/egui", branch = "tao", optional = true }
  74. [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
  75. gtk = { version = "0.14", features = [ "v3_20" ] }
  76. glib = "0.14"
  77. [target."cfg(target_os = \"macos\")".dependencies]
  78. embed_plist = "1.2"
  79. [build-dependencies]
  80. cfg_aliases = "0.1.1"
  81. [dev-dependencies]
  82. proptest = "1.0.0"
  83. serde_json = "1.0"
  84. tauri = { path = "." }
  85. serde = { version = "1.0", features = [ "derive" ] }
  86. quickcheck = "1.0.3"
  87. quickcheck_macros = "1.0.0"
  88. tokio-test = "0.4.2"
  89. tokio = { version = "1.15", features = [ "full" ] }
  90. mockito = "0.30"
  91. [features]
  92. default = [ "wry", "compression" ]
  93. compression = [ "tauri-macros/compression", "tauri-utils/compression" ]
  94. dox = [ "tauri-runtime-wry/dox" ]
  95. wry = [ "tauri-runtime-wry" ]
  96. cli = [ "clap" ]
  97. custom-protocol = [ "tauri-macros/custom-protocol" ]
  98. api-all = [
  99. "notification-all",
  100. "global-shortcut-all",
  101. "shell-all",
  102. "os-all",
  103. "dialog-all",
  104. "updater",
  105. "path-all"
  106. ]
  107. updater = [ "minisign-verify", "base64" ]
  108. system-tray = [ "tauri-runtime/system-tray", "tauri-runtime-wry/system-tray" ]
  109. reqwest-client = [ "reqwest", "bytes" ]
  110. fs-all = [ "fs-write-binary-file" ]
  111. fs-read-text-file = [ ]
  112. fs-read-binary-file = [ ]
  113. fs-write-file = [ ]
  114. fs-write-binary-file = [ "base64" ]
  115. fs-read-dir = [ ]
  116. fs-copy-file = [ ]
  117. fs-create-dir = [ ]
  118. fs-remove-dir = [ ]
  119. fs-remove-file = [ ]
  120. fs-rename-file = [ ]
  121. path-all = [ ]
  122. window-all = [ ]
  123. window-create = [ ]
  124. shell-all = [ "shell-open", "shell-execute" ]
  125. shell-execute = [ "shared_child", "os_pipe" ]
  126. shell-open = [ "open" ]
  127. dialog-all = [ "dialog-open", "dialog-save" ]
  128. dialog-open = [ ]
  129. dialog-save = [ ]
  130. http-all = [ ]
  131. http-request = [ ]
  132. notification-all = [ "notify-rust" ]
  133. global-shortcut-all = [ ]
  134. os-all = [ "os_info" ]
  135. egui = ["epi", "tauri-runtime-wry/egui"]
  136. [[example]]
  137. name = "commands"
  138. path = "../../examples/commands/src-tauri/src/main.rs"
  139. [[example]]
  140. name = "helloworld"
  141. path = "../../examples/helloworld/src-tauri/src/main.rs"
  142. [[example]]
  143. name = "multiwindow"
  144. path = "../../examples/multiwindow/src-tauri/src/main.rs"
  145. [[example]]
  146. name = "navigation"
  147. path = "../../examples/navigation/src-tauri/src/main.rs"
  148. [[example]]
  149. name = "splashscreen"
  150. path = "../../examples/splashscreen/src-tauri/src/main.rs"
  151. [[example]]
  152. name = "state"
  153. path = "../../examples/state/src-tauri/src/main.rs"
  154. [[example]]
  155. name = "resources"
  156. path = "../../examples/resources/src-tauri/src/main.rs"
  157. [[example]]
  158. name = "streaming"
  159. path = "../../examples/streaming/src-tauri/src/main.rs"