-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
104 lines (85 loc) · 2.41 KB
/
Cargo.toml
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
99
100
101
102
103
104
[package]
name = "sollaw"
version = "0.1.0"
edition = "2021"
authors = ["Heng30 <[email protected]>"]
homepage = "https://github.com/Heng30/solana-wallet-sollaw"
readme = "README.md"
keywords = ["rust", "solana", "wallet", "bip39", "crypto", "blockchain"]
license = "MIT"
repository = "https://github.com/Heng30/solana-wallet-sollaw"
[dependencies]
log = "0.4"
toml = "0.8"
slint = "1.7"
image = "0.24"
qrcode = "0.13"
anyhow = "1.0"
once_cell = "1.19"
webbrowser = "1.0"
derivative = "2.2"
serde_with = "3.8"
serde_json = "1.0"
uuid = { version = "1.9", features = ["v4"] }
tokio = { version = "1.38", features = ["full"] }
serde = { version = "1.0", features = ["serde_derive"] }
sqldb = { version = "0.1", path = "./libs/sqldb" }
wallet = { version = "0.1", path = "./libs/wallet", features = [
"default",
"pyth",
"helius",
] }
cutil = { version = "0.1", path = "./libs/cutil", features = [
"default",
"crypto",
"time",
"http",
] }
[target.'cfg(not(target_os = "android"))'.dependencies]
clipboard = "0.5"
env_logger = "0.10"
platform-dirs = "0.3"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.13"
terminal-clipboard = "0.4"
[build-dependencies]
cmd_lib = "1.9"
slint-build = "1.7"
[target.'cfg(target_os = "windows")'.build-dependencies]
embed-resource = "2.4"
[features]
default = ["cutil/native-tls-vendored", "slint/backend-android-activity-06"]
desktop = []
[lib]
crate-type = ["cdylib", "lib"]
[[bin]]
path = "src/desktop.rs"
name = "sollaw"
required-features = ["desktop"]
[package.metadata.android]
package = "xyz.heng30.sollaw"
build_targets = ["aarch64-linux-android"]
resources = "./res"
strip = "strip"
[package.metadata.android.signing.dev]
path = "./keystore/debug.keystore"
keystore_password = "123456"
[package.metadata.android.signing.release]
path = "./keystore/release.keystore"
keystore_password = "123456"
[package.metadata.android.sdk]
min_sdk_version = 23
target_sdk_version = 32
[[package.metadata.android.uses_permission]]
name = "android.permission.INTERNET"
[[package.metadata.android.uses_permission]]
name = "android.permission.WRITE_EXTERNAL_STORAGE"
[[package.metadata.android.uses_permission]]
name = "android.permission.READ_EXTERNAL_STORAGE"
[package.metadata.android.application]
icon = "@mipmap/ic_launcher"
theme = "@style/AppTheme"
[package.metadata.android.application.activity]
orientation = "portrait"
launch_mode = "singleTop"
always_retain_task_state = true