Cargo.toml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. [package]
  2. authors = [ "Tauri Programme within The Commons Conservancy" ]
  3. categories = [ "gui", "web-programming" ]
  4. description = "Make tiny, secure apps for all desktop platforms with Tauri"
  5. edition = "2021"
  6. rust-version = "1.65"
  7. exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
  8. homepage = "https://tauri.app"
  9. license = "Apache-2.0 OR MIT"
  10. name = "tauri"
  11. readme = "README.md"
  12. repository = "https://github.com/tauri-apps/tauri"
  13. version = "2.0.0-alpha.9"
  14. links = "Tauri"
  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. "dox"
  25. ]
  26. rustdoc-args = [ "--cfg", "doc_cfg" ]
  27. default-target = "x86_64-unknown-linux-gnu"
  28. targets = [
  29. "x86_64-pc-windows-msvc",
  30. "x86_64-unknown-linux-gnu",
  31. "x86_64-apple-darwin"
  32. ]
  33. [package.metadata.cargo-udeps.ignore]
  34. normal = [ "reqwest" ]
  35. [dependencies]
  36. serde_json = { version = "1.0", features = [ "raw_value" ] }
  37. serde = { version = "1.0", features = [ "derive" ] }
  38. tokio = { version = "1", features = [ "rt", "rt-multi-thread", "sync", "fs", "io-util" ] }
  39. futures-util = "0.3"
  40. uuid = { version = "1", features = [ "v4" ] }
  41. url = { version = "2.3" }
  42. anyhow = "1.0"
  43. thiserror = "1.0"
  44. once_cell = "1"
  45. tauri-runtime = { version = "0.13.0-alpha.5", path = "../tauri-runtime" }
  46. tauri-macros = { version = "2.0.0-alpha.5", path = "../tauri-macros" }
  47. tauri-utils = { version = "2.0.0-alpha.5", features = [ "resources" ], path = "../tauri-utils" }
  48. tauri-runtime-wry = { version = "0.13.0-alpha.5", path = "../tauri-runtime-wry", optional = true }
  49. rand = "0.8"
  50. semver = { version = "1.0", features = [ "serde" ] }
  51. serde_repr = "0.1"
  52. state = "0.5"
  53. tempfile = "3"
  54. http = "0.2"
  55. dirs-next = "2.0"
  56. percent-encoding = "2.2"
  57. reqwest = { version = "0.11", default-features = false, features = [ "json", "stream" ] }
  58. bytes = { version = "1", features = [ "serde" ] }
  59. raw-window-handle = "0.5"
  60. time = { version = "0.3", optional = true }
  61. glob = "0.3"
  62. data-url = { version = "0.2", optional = true }
  63. serialize-to-javascript = "=0.1.1"
  64. infer = { version = "0.9", optional = true }
  65. png = { version = "0.17", optional = true }
  66. ico = { version = "0.2.0", optional = true }
  67. [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
  68. gtk = { version = "0.16", features = [ "v3_24" ] }
  69. glib = "0.16"
  70. webkit2gtk = { version = "0.19.1", features = [ "v2_38" ] }
  71. [target."cfg(target_os = \"macos\")".dependencies]
  72. embed_plist = "1.2"
  73. cocoa = "0.24"
  74. objc = "0.2"
  75. [target."cfg(windows)".dependencies]
  76. webview2-com = "0.22"
  77. [target."cfg(windows)".dependencies.windows]
  78. version = "0.44"
  79. features = [ "Win32_Foundation" ]
  80. [target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
  81. log = "0.4"
  82. heck = "0.4"
  83. [target."cfg(target_os = \"android\")".dependencies]
  84. jni = "0.20"
  85. [target."cfg(target_os = \"ios\")".dependencies]
  86. libc = "0.2"
  87. objc = "0.2"
  88. cocoa = "0.24"
  89. swift-rs = "1.0.4"
  90. [build-dependencies]
  91. heck = "0.4"
  92. once_cell = "1"
  93. tauri-build = { path = "../tauri-build/", version = "2.0.0-alpha.1" }
  94. [dev-dependencies]
  95. proptest = "1.0.0"
  96. quickcheck = "1.0.3"
  97. quickcheck_macros = "1.0.0"
  98. serde = { version = "1.0", features = [ "derive" ] }
  99. serde_json = "1.0"
  100. tauri = { path = ".", default-features = false, features = [ "wry" ] }
  101. tokio = { version = "1", features = [ "full" ] }
  102. cargo_toml = "0.11"
  103. winnow = "=0.4.1"
  104. tauri-codegen-test = { path = "../tests/tauri-codegen-test" }
  105. [features]
  106. default = [ "wry", "compression", "objc-exception" ]
  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", "tauri-utils/icon-ico" ]
  129. icon-png = [ "infer", "png", "tauri-utils/icon-png" ]