[package]
edition = "2024"
name = "release-hub"
version = "0.3.0"
authors = ["tangxiangong <tangxiangong@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple updater for Rust GUI applications"
readme = "README.md"
keywords = ["updater"]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tangxiangong/release-hub"
[lib]
name = "release_hub"
path = "src/lib.rs"
[[example]]
name = "dioxus"
path = "examples/dioxus.rs"
[[test]]
name = "endpoint_source"
path = "tests/endpoint_source.rs"
[[test]]
name = "github_source"
path = "tests/github_source.rs"
[[test]]
name = "install_linux"
path = "tests/install_linux.rs"
[[test]]
name = "manifest_models"
path = "tests/manifest_models.rs"
[[test]]
name = "target_resolution"
path = "tests/target_resolution.rs"
[[test]]
name = "update_flow"
path = "tests/update_flow.rs"
[dependencies.fs-err]
version = "3.2"
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.minisign-verify]
version = "0.2"
[dependencies.octocrab]
version = "0.49"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
]
[dependencies.semver]
version = "1"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"parsing",
"formatting",
"serde",
]
[dependencies.url]
version = "2"
features = ["serde"]
[dev-dependencies.dioxus]
version = "0.7"
features = ["desktop"]
[dev-dependencies.httpmock]
version = "0.8"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"rt-multi-thread",
]
[target.'cfg(target_os = "macos")'.dependencies.flate2]
version = "1"
[target.'cfg(target_os = "macos")'.dependencies.osakit]
version = "0.3"
features = ["full"]
[target.'cfg(target_os = "macos")'.dependencies.zip]
version = "8"
features = [
"deflate",
"bzip2",
"time",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Shell",
]