mirror of
https://github.com/tauri-apps/tauri-plugin-updater.git
synced 2026-01-31 00:55:19 +01:00
* fix: docs.rs * fix updater docs * update build script Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10357667069 Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[package]
|
|
name = "tauri-plugin-updater"
|
|
version = "2.0.0-rc.0"
|
|
description = "In-app updates for Tauri applications."
|
|
edition = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
repository = { workspace = true }
|
|
links = "tauri-plugin-updater"
|
|
|
|
[package.metadata.docs.rs]
|
|
rustc-args = [ "--cfg", "docsrs" ]
|
|
rustdoc-args = [ "--cfg", "docsrs" ]
|
|
no-default-features = true
|
|
features = [ "zip" ]
|
|
|
|
[build-dependencies]
|
|
tauri-plugin = { workspace = true, features = [ "build" ] }
|
|
|
|
[dependencies]
|
|
tauri = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = "1"
|
|
reqwest = { version = "0.12", default-features = false, features = [
|
|
"json",
|
|
"stream",
|
|
] }
|
|
url = { workspace = true }
|
|
http = "1"
|
|
minisign-verify = "0.2"
|
|
time = { version = "0.3", features = ["parsing", "formatting"] }
|
|
base64 = "0.22"
|
|
semver = { version = "1", features = ["serde"] }
|
|
futures-util = "0.3"
|
|
tempfile = "3"
|
|
infer = "0.15"
|
|
|
|
[target."cfg(target_os = \"windows\")".dependencies]
|
|
zip = { version = "2", default-features = false, optional = true }
|
|
windows-sys = { version = "0.52.0", features = [
|
|
"Win32_Foundation",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|
|
|
|
[target."cfg(target_os = \"linux\")".dependencies]
|
|
dirs = "5"
|
|
tar = { version = "0.4", optional = true }
|
|
flate2 = { version = "1", optional = true }
|
|
|
|
[target."cfg(target_os = \"macos\")".dependencies]
|
|
tar = "0.4"
|
|
flate2 = "1"
|
|
|
|
[features]
|
|
default = ["rustls-tls", "zip"]
|
|
zip = ["dep:zip", "dep:tar", "dep:flate2"]
|
|
native-tls = ["reqwest/native-tls"]
|
|
native-tls-vendored = ["reqwest/native-tls-vendored"]
|
|
rustls-tls = ["reqwest/rustls-tls"]
|