mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
+1






![github-actions[bot] <github-actions[bot]@users.noreply.github.com>](/assets/img/avatar_default.png)


Steven Enamakel
GitHub
github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Mega Mind
Cyrus Gray
oxoxDev
CodeGhost21
sanil-23
YellowSnnowmann
Claude Opus 4.8
M3gA-Mind
1e39b0aebd
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mega Mind <146339422+M3gA-Mind@users.noreply.github.com> Co-authored-by: Cyrus Gray <144336577+graycyrus@users.noreply.github.com> Co-authored-by: oxoxDev <164490987+oxoxDev@users.noreply.github.com> Co-authored-by: CodeGhost21 <164498022+CodeGhost21@users.noreply.github.com> Co-authored-by: sanil-23 <sanil@tinyhumans.ai> Co-authored-by: YellowSnnowmann <167776381+YellowSnnowmann@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: M3gA-Mind <elvin@mahadao.com>
59 lines
1.8 KiB
TOML
59 lines
1.8 KiB
TOML
[package]
|
|
name = "openhuman-mobile"
|
|
version = "0.58.16"
|
|
description = "OpenHuman mobile (iOS) — Tauri host without CEF"
|
|
authors = ["OpenHuman"]
|
|
edition = "2021"
|
|
default-run = "openhuman-mobile"
|
|
autobins = false
|
|
|
|
# Mobile host is iOS-only. Block other targets so this crate never gets pulled
|
|
# into a desktop build by accident.
|
|
[lib]
|
|
name = "openhuman_mobile"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[[bin]]
|
|
name = "openhuman-mobile"
|
|
path = "src/main.rs"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
# Stock upstream Tauri — no vendored CEF runtime. The mobile host renders via
|
|
# WKWebView (iOS) / WebView (the Tauri default), not Chromium. CSP and the
|
|
# React app are identical to desktop; only the host process is different.
|
|
tauri = { version = "=2.10.3", default-features = false, features = [
|
|
"common-controls-v6",
|
|
"devtools",
|
|
"unstable",
|
|
"webview-data-url",
|
|
"wry",
|
|
] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
|
|
# iOS gets the QR scanner + push-to-talk plugins. PTT ships Swift sources
|
|
# under packages/tauri-plugin-ptt/ios/.
|
|
[target.'cfg(target_os = "ios")'.dependencies]
|
|
tauri-plugin-barcode-scanner = "2"
|
|
tauri-plugin-ptt = { path = "../../packages/tauri-plugin-ptt" }
|
|
|
|
# Android gets the QR scanner only. PTT returns `NotSupported` on Android —
|
|
# we don't ship a Kotlin implementation today (tracked as a follow-up).
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
tauri-plugin-barcode-scanner = "2"
|
|
tauri-plugin-ptt = { path = "../../packages/tauri-plugin-ptt" }
|
|
|
|
[features]
|
|
default = []
|
|
custom-protocol = ["tauri/custom-protocol"]
|
|
|
|
# Match the desktop release profile for binary size.
|
|
[profile.release]
|
|
debug = "line-tables-only"
|
|
split-debuginfo = "packed"
|