Cargo.toml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. [package]
  2. name = "tauri-cli"
  3. version = "2.0.3"
  4. authors = ["Tauri Programme within The Commons Conservancy"]
  5. edition = "2021"
  6. rust-version = "1.77.2"
  7. categories = ["gui", "web-programming"]
  8. license = "Apache-2.0 OR MIT"
  9. homepage = "https://tauri.app"
  10. repository = "https://github.com/tauri-apps/tauri"
  11. description = "Command line interface for building Tauri apps"
  12. include = [
  13. "src/",
  14. "/templates",
  15. "scripts/",
  16. "*.json",
  17. "*.rs",
  18. "tauri.gitignore",
  19. "tauri-dev-watcher.gitignore",
  20. "LICENSE*",
  21. ]
  22. [package.metadata.binstall]
  23. pkg-url = "{ repo }/releases/download/tauri-cli-v{ version }/cargo-tauri-{ target }.{ archive-format }"
  24. bin-dir = "{ bin }{ binary-ext }"
  25. pkg-fmt = "tgz"
  26. [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
  27. pkg-fmt = "zip"
  28. [package.metadata.binstall.overrides.x86_64-apple-darwin]
  29. pkg-fmt = "zip"
  30. [[bin]]
  31. name = "cargo-tauri"
  32. path = "src/main.rs"
  33. [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\", target_os = \"windows\", target_os = \"macos\"))".dependencies]
  34. cargo-mobile2 = { version = "0.17.3", default-features = false }
  35. [dependencies]
  36. jsonrpsee = { version = "0.24.5", features = ["server"] }
  37. jsonrpsee-core = "0.24.5"
  38. jsonrpsee-client-transport = { version = "0.24.5", features = ["ws"] }
  39. jsonrpsee-ws-client = { version = "0.24.5", default-features = false }
  40. sublime_fuzzy = "0.7"
  41. clap_complete = "4"
  42. clap = { version = "4.5", features = ["derive", "env"] }
  43. anyhow = "1.0"
  44. tauri-bundler = { version = "2.0.3", default-features = false, path = "../tauri-bundler" }
  45. colored = "2.1"
  46. serde = { version = "1.0", features = ["derive"] }
  47. serde_json = { version = "1.0", features = ["preserve_order"] }
  48. notify = "6.1"
  49. notify-debouncer-mini = "0.4"
  50. shared_child = "1.0"
  51. duct = "0.13"
  52. toml_edit = { version = "0.22", features = ["serde"] }
  53. json-patch = "2.0"
  54. tauri-utils = { version = "2.0.1", path = "../tauri-utils", features = [
  55. "isolation",
  56. "schema",
  57. "config-json5",
  58. "config-toml",
  59. ] }
  60. tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [
  61. "isolation",
  62. "schema",
  63. "config-json5",
  64. "config-toml",
  65. ] }
  66. toml = "0.8"
  67. jsonschema = "0.18"
  68. handlebars = "6.0"
  69. include_dir = "0.7"
  70. minisign = "=0.7.3"
  71. base64 = "0.22.0"
  72. ureq = { version = "2.9.6", default-features = false, features = ["gzip"] }
  73. os_info = "3"
  74. semver = "1.0"
  75. regex = "1.10.3"
  76. heck = "0.5"
  77. dialoguer = "0.11"
  78. url = { version = "2.5", features = ["serde"] }
  79. os_pipe = "1"
  80. ignore = "0.4"
  81. ctrlc = "3.4"
  82. log = { version = "0.4.21", features = ["kv", "kv_std"] }
  83. env_logger = "0.11.5"
  84. icns = { package = "tauri-icns", version = "0.1" }
  85. image = { version = "0.25", default-features = false, features = ["ico"] }
  86. axum = { version = "0.7.4", features = ["ws"] }
  87. html5ever = "0.26"
  88. kuchiki = { package = "kuchikiki", version = "0.8" }
  89. tokio = { version = "1", features = ["macros", "sync"] }
  90. common-path = "1"
  91. serde-value = "0.7.0"
  92. itertools = "0.13"
  93. local-ip-address = "0.6"
  94. css-color = "0.2"
  95. resvg = "0.43.0"
  96. dunce = "1"
  97. glob = "0.3"
  98. oxc_parser = "0.24"
  99. oxc_span = "0.24"
  100. oxc_allocator = "0.24"
  101. oxc_ast = "0.24"
  102. magic_string = "0.3"
  103. phf = { version = "0.11", features = ["macros"] }
  104. walkdir = "2"
  105. elf = "0.7"
  106. memchr = "2"
  107. tempfile = "3"
  108. uuid = { version = "1", features = ["v5"] }
  109. rand = "0.8"
  110. [dev-dependencies]
  111. insta = "1"
  112. pretty_assertions = "1"
  113. [target."cfg(windows)".dependencies.windows-sys]
  114. version = "0.59"
  115. features = [
  116. "Win32_Storage_FileSystem",
  117. "Win32_System_IO",
  118. "Win32_System_Console",
  119. ]
  120. [target."cfg(unix)".dependencies]
  121. libc = "0.2"
  122. [target."cfg(target_os = \"macos\")".dependencies]
  123. plist = "1"
  124. tauri-macos-sign = { version = "2.0.1", path = "../tauri-macos-sign" }
  125. object = { version = "0.36", default-features = false, features = [
  126. "macho",
  127. "read_core",
  128. "std",
  129. ] }
  130. ar = "0.9"
  131. [features]
  132. default = ["rustls"]
  133. native-tls = [
  134. "tauri-bundler/native-tls",
  135. "cargo-mobile2/native-tls",
  136. "ureq/native-tls",
  137. ]
  138. native-tls-vendored = ["native-tls", "tauri-bundler/native-tls-vendored"]
  139. rustls = ["tauri-bundler/rustls", "cargo-mobile2/rustls", "ureq/tls"]