Cargo.toml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. [workspace]
  2. members = [ "node" ]
  3. [package]
  4. name = "tauri-cli"
  5. version = "2.0.0-beta.12"
  6. authors = [ "Tauri Programme within The Commons Conservancy" ]
  7. edition = "2021"
  8. rust-version = "1.70"
  9. categories = [ "gui", "web-programming" ]
  10. license = "Apache-2.0 OR MIT"
  11. homepage = "https://tauri.app"
  12. repository = "https://github.com/tauri-apps/tauri"
  13. description = "Command line interface for building Tauri apps"
  14. include = [
  15. "src/",
  16. "/templates",
  17. "scripts/",
  18. "*.json",
  19. "*.rs",
  20. "tauri.gitignore",
  21. "tauri-dev-watcher.gitignore",
  22. "LICENSE*"
  23. ]
  24. [package.metadata.binstall]
  25. pkg-url = "{ repo }/releases/download/tauri-cli-v{ version }/cargo-tauri-{ target }.{ archive-format }"
  26. bin-dir = "{ bin }{ binary-ext }"
  27. pkg-fmt = "tgz"
  28. [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
  29. pkg-fmt = "zip"
  30. [package.metadata.binstall.overrides.x86_64-apple-darwin]
  31. pkg-fmt = "zip"
  32. [[bin]]
  33. name = "cargo-tauri"
  34. path = "src/main.rs"
  35. [dependencies]
  36. cargo-mobile2 = { version = "0.11", default-features = false }
  37. jsonrpsee = { version = "0.22", features = [ "server" ] }
  38. jsonrpsee-core = "0.22"
  39. jsonrpsee-client-transport = { version = "0.22", features = [ "ws" ] }
  40. jsonrpsee-ws-client = { version = "0.22", default-features = false }
  41. thiserror = "1"
  42. sublime_fuzzy = "0.7"
  43. clap_complete = "4"
  44. clap = { version = "4.5", features = [ "derive", "env" ] }
  45. anyhow = "1.0"
  46. tauri-bundler = { version = "2.0.1-beta.8", default-features = false, path = "../bundler" }
  47. colored = "2.1"
  48. serde = { version = "1.0", features = [ "derive" ] }
  49. serde_json = { version = "1.0", features = [ "preserve_order" ] }
  50. notify = "6.1"
  51. notify-debouncer-mini = "0.4"
  52. shared_child = "1.0"
  53. duct = "0.13"
  54. toml_edit = { version = "0.22", features = [ "serde" ] }
  55. json-patch = "1.2"
  56. tauri-utils = { version = "2.0.0-beta.11", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
  57. tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
  58. toml = "0.8"
  59. jsonschema = "0.17"
  60. handlebars = "5.1"
  61. include_dir = "0.7"
  62. minisign = "=0.7.3"
  63. base64 = "0.22.0"
  64. ureq = { version = "2.9.6", default-features = false, features = [ "gzip" ] }
  65. os_info = "3"
  66. semver = "1.0"
  67. regex = "1.10.3"
  68. unicode-width = "0.1"
  69. zeroize = "1.7"
  70. heck = { version = "0.4", features = [ "unicode" ] }
  71. dialoguer = "0.11"
  72. url = { version = "2.5", features = [ "serde" ] }
  73. os_pipe = "1"
  74. ignore = "0.4"
  75. ctrlc = "3.4"
  76. log = { version = "0.4.21", features = [ "kv", "kv_std" ] }
  77. env_logger = "0.11.3"
  78. icns = { package = "tauri-icns", version = "0.1" }
  79. image = { version = "0.24", default-features = false, features = [ "ico" ] }
  80. axum = { version = "0.7.4", features = [ "ws" ] }
  81. html5ever = "0.26"
  82. kuchiki = { package = "kuchikiki", version = "0.8" }
  83. tokio = { version = "1", features = [ "macros", "sync" ] }
  84. common-path = "1"
  85. serde-value = "0.7.0"
  86. itertools = "0.12"
  87. local-ip-address = "0.6"
  88. css-color = "0.2"
  89. resvg = "0.40.0"
  90. dunce = "1"
  91. glob = "0.3"
  92. [target."cfg(windows)".dependencies]
  93. winapi = { version = "0.3", features = [ "handleapi", "processenv", "winbase", "wincon", "winnt" ] }
  94. cc = "1"
  95. [target."cfg(unix)".dependencies]
  96. libc = "0.2"
  97. [target."cfg(target_os = \"macos\")".dependencies]
  98. plist = "1"
  99. [features]
  100. default = [ "rustls" ]
  101. native-tls = [
  102. "tauri-bundler/native-tls",
  103. "cargo-mobile2/native-tls",
  104. "ureq/native-tls"
  105. ]
  106. native-tls-vendored = [ "native-tls", "tauri-bundler/native-tls-vendored" ]
  107. rustls = [ "tauri-bundler/rustls", "cargo-mobile2/rustls", "ureq/tls" ]
  108. [profile.release-size-optimized]
  109. inherits = "release"
  110. codegen-units = 1
  111. lto = true
  112. incremental = false
  113. opt-level = "s"