mirror of
https://github.com/hanzoai/desktop.git
synced 2026-10-30 14:58:42 +00:00
- Wire shared hanzo-mining 1.1.21 into the canonical app: commands/mining.rs (mining_start/stop/get_stats/network_info), MiningManager managed in main.rs, NetworkType::HanzoMainnet -> HAI - Add centralized brand config (src/config/brand.ts) as the single source of truth for brand/network identity - De-hardcode user-facing brand strings across 16 components onto BRAND - Fix bundle identifier to reverse-DNS of hanzo.ai: ai.hanzo.desktop (was com.hanzo.desktop) Co-authored-by: Hanzo Dev <[email protected]>
90 lines
3.3 KiB
TOML
90 lines
3.3 KiB
TOML
[package]
|
|
name = "hanzo-desktop"
|
|
version = "0.0.0"
|
|
description = "A first class Desktop application to interact with Hanzo Node"
|
|
authors = ["[email protected]"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.4.0", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2.4", features = [ "macos-private-api", "tray-icon", "image-png", "devtools"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
# fix this dependency later on
|
|
reqwest = { version = "0.11", features = ["json", "stream"] }
|
|
lazy_static = "1.4.0"
|
|
tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread", "net", "sync"] }
|
|
chrono = "0.4.38"
|
|
futures-util = "0.3"
|
|
regex = "1.10.4"
|
|
once_cell = "1.19.0"
|
|
wgpu = "0.20.0"
|
|
sysinfo = "0.30.12"
|
|
ed25519-dalek = { version = "2.1.1", features = ["rand_core"] }
|
|
blake3 = "1.5.1"
|
|
opener = "0.7.2"
|
|
hex = "0.4.3"
|
|
base64 = "0.22.1"
|
|
time = "^0.3.36"
|
|
listeners = "0.2"
|
|
log = "0.4"
|
|
anyhow = "1.0.89"
|
|
uuid = "1.10.0"
|
|
kill_tree = { version = "0.2", features = ["tokio"] }
|
|
semver = "1.0"
|
|
sha2 = "0.10"
|
|
|
|
# Shared AI-chain mining crate (canonical hanzo core), pinned to latest.
|
|
# Same crate Zoo & Lux use so all three mine off the same network protocol.
|
|
hanzo-mining = "1.1.21"
|
|
|
|
tauri-plugin-global-shortcut = "2.3"
|
|
tauri-plugin-shell = "2.3"
|
|
tauri-plugin-single-instance = { version = "2.3", features = ["deep-link"] }
|
|
tauri-plugin-updater = "2.9"
|
|
tauri-plugin-dialog = "2.3"
|
|
tauri-plugin-fs ="2.2"
|
|
tauri-plugin-os = "2.2"
|
|
tauri-plugin-process = "2.3"
|
|
tauri-plugin-log = "2.6"
|
|
tauri-plugin-deep-link = "2.2.0"
|
|
tauri-plugin-opener = "2.5"
|
|
tauri-plugin-notification = "2.3"
|
|
tauri-plugin-http = "2.5"
|
|
|
|
fix-path-env = { git = "https://github.com/tauri-apps/fix-path-env-rs" }
|
|
|
|
# --- Native Hanzo Engine (embedded, in-process) -----------------------------
|
|
# In-process LLM inference via the Hanzo Engine fork at ~/work/hanzo/engine
|
|
# (../../../../engine relative to this manifest). The engine workspace was
|
|
# rebranded mistralrs-* -> hanzo-*: `hanzo` is the high-level SDK, `hanzo-engine`
|
|
# is the core. Optional and OFF by default so the standard build stays light and
|
|
# does not require the engine repo checked out as a sibling. Enable with the
|
|
# `native-engine` feature plus a backend, e.g.
|
|
# cargo build --release --features "native-engine metal" (Apple Silicon)
|
|
# cargo build --release --features "native-engine cuda" (NVIDIA)
|
|
hanzo = { path = "../../../../engine/hanzo", optional = true }
|
|
hanzo-engine = { path = "../../../../engine/hanzo-engine", optional = true }
|
|
axum = { version = "0.8", optional = true }
|
|
|
|
[features]
|
|
# this feature is used for production builds or when `devPath` points to the filesystem
|
|
# DO NOT REMOVE!!
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
|
|
# Embed the native Hanzo Engine for in-process inference (OpenAI-compatible
|
|
# server on 127.0.0.1:36900 + Tauri IPC commands). Pair with a backend feature.
|
|
native-engine = ["dep:hanzo", "dep:hanzo-engine", "dep:axum"]
|
|
# GPU/CPU backends forwarded to the engine. Weak deps (`pkg?/feat`) so selecting
|
|
# a backend never force-enables the engine unless `native-engine` is also on.
|
|
metal = ["hanzo?/metal", "hanzo-engine?/metal"]
|
|
cuda = ["hanzo?/cuda", "hanzo-engine?/cuda"]
|
|
accelerate = ["hanzo-engine?/accelerate"]
|
|
flash-attn = ["hanzo?/flash-attn"]
|