Cargo.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. [workspace]
  2. members = [ "node" ]
  3. [package]
  4. name = "tauri-cli"
  5. version = "1.3.1"
  6. authors = [ "Tauri Programme within The Commons Conservancy" ]
  7. edition = "2021"
  8. rust-version = "1.60"
  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. clap_complete = "4"
  37. clap = { version = "4.0", features = [ "derive" ] }
  38. anyhow = "1.0"
  39. tauri-bundler = { version = "1.2.1", path = "../bundler", default-features = false }
  40. colored = "2.0"
  41. once_cell = "1"
  42. serde = { version = "1.0", features = [ "derive" ] }
  43. serde_json = "1.0"
  44. notify = "6.0"
  45. notify-debouncer-mini = "0.3"
  46. shared_child = "1.0"
  47. toml_edit = "0.14"
  48. json-patch = "1.0"
  49. tauri-utils = { version = "1.3.0", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
  50. toml = "0.5"
  51. jsonschema = "0.16"
  52. handlebars = "4.3"
  53. include_dir = "0.7"
  54. minisign = "0.7"
  55. base64 = "0.21.0"
  56. ureq = {version="2.5", default-features = false, features = ["gzip"]}
  57. os_info = "3"
  58. semver = "1.0"
  59. regex = "1.6.0"
  60. unicode-width = "0.1"
  61. zeroize = "1.5"
  62. heck = { version = "0.4", features = [ "unicode" ] }
  63. dialoguer = "0.10"
  64. url = { version = "2.3", features = [ "serde" ] }
  65. os_pipe = "1"
  66. ignore = "0.4"
  67. ctrlc = "3.2"
  68. log = { version = "0.4.17", features = [ "kv_unstable", "kv_unstable_std" ] }
  69. env_logger = "0.9.1"
  70. icns = { package = "tauri-icns", version = "0.1" }
  71. image = { version = "0.24", default-features = false, features = [ "ico" ] }
  72. axum = { version = "0.5.16", features = [ "ws" ] }
  73. html5ever = "0.25"
  74. kuchiki = "0.8"
  75. tokio = { version = "1", features = [ "macros", "sync" ] }
  76. common-path = "1"
  77. serde-value = "0.7.0"
  78. itertools = "0.10"
  79. [target."cfg(windows)".dependencies]
  80. winapi = { version = "0.3", features = [ "handleapi", "processenv", "winbase", "wincon", "winnt" ] }
  81. cc = "1"
  82. [target."cfg(unix)".dependencies]
  83. libc = "0.2"
  84. [profile.release]
  85. lto = true
  86. [features]
  87. default = [ "rustls" ]
  88. native-tls = [ "tauri-bundler/native-tls", "ureq/native-tls" ]
  89. native-tls-vendored = [ "native-tls", "tauri-bundler/native-tls-vendored" ]
  90. rustls = [ "tauri-bundler/rustls", "ureq/tls" ]