forked from hogyzen12/unruggable-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (86 loc) · 2.79 KB
/
Copy pathCargo.toml
File metadata and controls
98 lines (86 loc) · 2.79 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[package]
name = "unruggable"
version = "0.1.0"
authors = ["hogyzen12 <billypapas12@gmail.com>"]
edition = "2021"
[dependencies]
# Core dependencies for all platforms
#EDGE
dioxus = { git = "https://github.com/DioxusLabs/dioxus", rev = "a8230d8", features = ["fullstack", "mobile", "router"] }
#ALPHA - passing all builds & bundles + device deployment
#dioxus = { git = "https://github.com/DioxusLabs/dioxus", rev = "f9e7011", features = ["fullstack", "mobile", "router"] }
#STABLE - fails android
#dioxus = { version = "0.6.3", features = ["fullstack","router"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bs58 = "0.5.1"
ed25519-dalek = "2.1.1"
rand = "0.8"
reqwest = { version = "0.12", features = ["json"] }
solana-sdk = "2.3.1"
solana-stake-interface = { version = "1.2.0", features = ["bincode"] }
solana-account-decoder = "2.2"
openssl = { version = "0.10", features = ["vendored"] }
bincode = "1.3"
base64 = "0.22"
tokio = { version = "1.47.1", features = ["full"] }
sha2 = "0.10"
async-trait = "0.1"
log = "0.4"
lazy_static = "1.5.0"
qrcode = "0.14"
image = { version = "0.24", default-features = false }
chrono = "0.4"
hex = "0.4"
spl-token = "8.0.0"
spl-associated-token-account = "7.0.0"
solana-client = "2.3.2"
server_fn_macro_default = "0.8.3"
# Desktop/non-mobile specific dependencies
[target.'cfg(not(any(target_os = "android")))'.dependencies]
# Add full§stack feature only for non-mobile platforms
serialport = "4.3.0"
tokio-serial = "5.4.4"
arboard = "3.2"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
solana-remote-wallet = "2.3.7"
solana-offchain-message = "2.2.1"
solana-derivation-path = "2.2.1"
hidapi = "2.6.3"
parking_lot = "0.12"
#dioxus-desktop = { git = "https://github.com/DioxusLabs/dioxus", rev = "f9e7011", default-features = false}
dioxus-desktop = { git = "https://github.com/DioxusLabs/dioxus", rev = "a8230d8", default-features = false}
# Android-specific dependencies
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.13"
jni = "0.21.1"
anyhow = "1.0.98"
async-channel = "2.3.1"
once_cell = "1.21.3"
[package.metadata.cargo-apple.ios]
frameworks = [ "WebKit" ]
[package.metadata.bundle]
name = "unruggable" # keeps your .app path as .../unruggable.app
identifier = "com.unruggable.app" # ← MUST match your provisioning profile's App ID
resources = ["assets/**/**"]
icon = ["assets/icon.png"]
category = "Utility"
short_description = "unruggable"
long_description = """
unruggable for iphone.
"""
#Comment this out for desktop builds
#osx_frameworks = ["WebKit"]
[features]
default = ["mobile"]
web = ["dioxus/web"]
desktop = ["dioxus/desktop"]
mobile = ["dioxus/mobile"]
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"