-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (50 loc) · 2.42 KB
/
Copy pathCargo.toml
File metadata and controls
57 lines (50 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# SPDX-FileCopyrightText: 2026 Foundation Devices, Inc. <hello@foundation.xyz>
# SPDX-License-Identifier: GPL-3.0-or-later
[package]
name = "gui-app-tether-wdk"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-or-later"
publish = false
# Standalone app project: it is built by the Foundation SDK, not as a member of
# the KeyOS workspace. `sdk-keyos` is a gitignored symlink created by
# scripts/setup_sdk.sh, which keeps these paths portable across machines and
# SDK versions.
[workspace]
[features]
default = []
# Companion link over QuantumLink. Requires a KeyOS carrying the WDK message
# set from keyos-patches/, which stock KeyOS does not have, so this is off by
# default and the app builds and sideloads standalone. See docs/QUANTUM_LINK.md.
quantum-link = []
[dependencies]
anyhow = { version = "1", default-features = false }
bitcoin = { version = "0.32.7", default-features = false, features = ["secp-recovery"] }
hex = { version = "0.4", default-features = false, features = ["alloc"] }
log = "0.4"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
sha3 = { version = "0.10.8", default-features = false }
zeroize = { version = "1", features = ["derive"] }
# `bt` and `quantum-link` are deliberately absent rather than optional.
#
# The SDK's vendored workspace declares `gpio` at `api/gpio`, which no shipped
# bundle contains, and `api/bt` depends on it -- as does `api/quantum-link`,
# transitively. Cargo reads an optional dependency's manifest during
# resolution, so declaring either as `optional = true` still fails to resolve
# and breaks the default build.
#
# Restore both lines together with the `quantum-link` feature once a bundle
# ships `api/gpio`. See docs/QUANTUM_LINK.md.
# bt = { path = "../.sdk/keyos/api/bt" }
fs = { path = "../.sdk/keyos/api/fs" }
security = { path = "../.sdk/keyos/api/security" }
server = { path = "../.sdk/keyos/server" }
log-server = { package = "xous-api-log", path = "../.sdk/keyos/xous/api/log" }
slint-keyos-platform = { path = "../.sdk/keyos/slint-keyos-platform/runtime" }
foundation-themes = { path = "../.sdk/keyos/sdk/crates/foundation-themes" }
# quantum-link = { path = "../.sdk/keyos/api/quantum-link" }
[build-dependencies]
slint-keyos-platform-build = { path = "../.sdk/keyos/slint-keyos-platform/build" }
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(keyos)'] }