mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
* test: add more unit-tests for `html` module * refactor: remove html dependencies from `tauri-cli` * feat: introduce `html-manipulation-2` feature * Remove deprecation * Use new feature flag * Unroll `build` feature * Introduce `build-2` feature * Reduce diff * Use `build-2` in more places * Add docs * Refactor `inject_script_hashes` * Refactor `with_head` * Rename serialize and parse functions * Add changes file * Remove unused function * Update changelog * Remove test * Update wry * Add todo comments we don't have the git blame data in html2, better do it now or never find it again * refactor `with_head` to `ensure_head` * Remove unused casts * Avoid using format to construct html elements which has the potential to get injected * Feature gate `inline_isolation` * Keep old prepends appends * Fix `inline_isolation_replaces_src_with_content` test * End meta tag * Mirror test to old html module * Use back to `append_html` for csp and link issue * Try out dom query main branch * Use nodes instead to avoid an extra clone * Use wry 0.54.4 and dom_query 0.27 * Mark stability * Remove `PatternObject` --------- Co-authored-by: Tony <legendmastertony@gmail.com> Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
154 lines
4.3 KiB
TOML
154 lines
4.3 KiB
TOML
[package]
|
|
name = "tauri-cli"
|
|
version = "2.10.1"
|
|
authors = ["Tauri Programme within The Commons Conservancy"]
|
|
edition = "2021"
|
|
rust-version = "1.77.2"
|
|
categories = ["gui", "web-programming"]
|
|
license = "Apache-2.0 OR MIT"
|
|
homepage = "https://tauri.app"
|
|
repository = "https://github.com/tauri-apps/tauri"
|
|
description = "Command line interface for building Tauri apps"
|
|
include = [
|
|
"src/",
|
|
"/templates",
|
|
"scripts/",
|
|
"*.json",
|
|
"*.rs",
|
|
"tauri.gitignore",
|
|
"tauri-dev-watcher.gitignore",
|
|
"LICENSE*",
|
|
]
|
|
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/tauri-cli-v{ version }/cargo-tauri-{ target }.{ archive-format }"
|
|
bin-dir = "{ bin }{ binary-ext }"
|
|
pkg-fmt = "tgz"
|
|
|
|
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
|
|
pkg-fmt = "zip"
|
|
|
|
[package.metadata.binstall.overrides.x86_64-apple-darwin]
|
|
pkg-fmt = "zip"
|
|
|
|
[[bin]]
|
|
name = "cargo-tauri"
|
|
path = "src/main.rs"
|
|
|
|
[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]
|
|
cargo-mobile2 = { version = "0.22.3", default-features = false }
|
|
|
|
[dependencies]
|
|
jsonrpsee = { version = "0.24", features = ["server"] }
|
|
jsonrpsee-core = "0.24"
|
|
jsonrpsee-client-transport = { version = "0.24", features = ["ws"] }
|
|
jsonrpsee-ws-client = { version = "0.24", default-features = false }
|
|
sublime_fuzzy = "0.7"
|
|
clap_complete = "4"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
thiserror = "2"
|
|
tauri-bundler = { version = "2.8.1", default-features = false, path = "../tauri-bundler" }
|
|
colored = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "1", features = ["preserve_order"] }
|
|
json5 = "0.4"
|
|
notify = "8"
|
|
notify-debouncer-full = "0.6"
|
|
shared_child = "1"
|
|
duct = "1.0"
|
|
toml_edit = { version = "0.25", features = ["serde"] }
|
|
json-patch = "3"
|
|
tauri-utils = { version = "2.8.3", path = "../tauri-utils", features = [
|
|
"isolation",
|
|
"schema",
|
|
"config-json5",
|
|
"config-toml",
|
|
"html-manipulation-2",
|
|
] }
|
|
toml = "1"
|
|
jsonschema = { version = "0.33", default-features = false }
|
|
handlebars = "6"
|
|
include_dir = "0.7"
|
|
dirs = "6"
|
|
# 0.7.4 to 0.8.0 were broken, 0.9 pulls in getrandom 0.4 with a high MSRV
|
|
# see https://github.com/tauri-apps/tauri/pull/15022
|
|
minisign = "=0.7.3"
|
|
base64 = "0.22"
|
|
ureq = { version = "3", default-features = false, features = ["gzip"] }
|
|
os_info = "3"
|
|
semver = "1"
|
|
regex = "1"
|
|
heck = "0.5"
|
|
dialoguer = "0.11"
|
|
url = { version = "2", features = ["serde"] }
|
|
os_pipe = "1"
|
|
ignore = "0.4"
|
|
ctrlc = "3"
|
|
log = { version = "0.4.21", features = ["kv", "kv_std"] }
|
|
env_logger = "0.11"
|
|
icns = { package = "tauri-icns", version = "0.1" }
|
|
image = { version = "0.25", default-features = false, features = ["ico"] }
|
|
axum = { version = "0.8", features = ["ws"] }
|
|
tokio = { version = "1", features = ["macros", "sync"] }
|
|
common-path = "1"
|
|
serde-value = "0.7"
|
|
itertools = "0.13"
|
|
local-ip-address = "0.6"
|
|
css-color = "0.2"
|
|
resvg = "0.45.0"
|
|
dunce = "1"
|
|
glob = "0.3"
|
|
# 0.39 raised msrv to above 1.78 but 0.37+ can't compile on 1.77.2 either.
|
|
oxc_parser = "0.36"
|
|
oxc_span = "0.36"
|
|
oxc_allocator = "0.36"
|
|
oxc_ast = "0.36"
|
|
magic_string = "0.3"
|
|
phf = { version = "0.11", features = ["macros"] }
|
|
walkdir = "2"
|
|
elf = "0.7"
|
|
memchr = "2"
|
|
tempfile = "3"
|
|
uuid = { version = "1", features = ["v5"] }
|
|
rand = "0.9"
|
|
zip = { version = "4", default-features = false, features = ["deflate"] }
|
|
which = "8"
|
|
rayon = "1.10"
|
|
|
|
[dev-dependencies]
|
|
insta = "1"
|
|
pretty_assertions = "1"
|
|
|
|
[target."cfg(windows)".dependencies.windows-sys]
|
|
version = "0.60"
|
|
features = [
|
|
"Win32_Security",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_IO",
|
|
"Win32_System_Console",
|
|
]
|
|
|
|
[target."cfg(unix)".dependencies]
|
|
libc = "0.2"
|
|
|
|
[target."cfg(target_os = \"macos\")".dependencies]
|
|
plist = "1"
|
|
tauri-macos-sign = { version = "2.3.3", path = "../tauri-macos-sign" }
|
|
object = { version = "0.36", default-features = false, features = [
|
|
"macho",
|
|
"read_core",
|
|
"std",
|
|
] }
|
|
ar = "0.9"
|
|
|
|
[features]
|
|
default = ["rustls", "platform-certs"]
|
|
native-tls = [
|
|
"tauri-bundler/native-tls",
|
|
"cargo-mobile2/native-tls",
|
|
"ureq/native-tls",
|
|
]
|
|
native-tls-vendored = ["native-tls", "tauri-bundler/native-tls-vendored"]
|
|
rustls = ["tauri-bundler/rustls", "cargo-mobile2/rustls", "ureq/rustls"]
|
|
platform-certs = ["tauri-bundler/platform-certs", "ureq/platform-verifier"]
|