forked from Blockstream/lwk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (50 loc) · 1.56 KB
/
Cargo.toml
File metadata and controls
55 lines (50 loc) · 1.56 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
[workspace]
members = [
"lwk_app",
"lwk_bindings",
"lwk_cli",
"lwk_hwi",
"lwk_jade",
"lwk_ledger",
"lwk_signer",
"lwk_tiny_jrpc",
"lwk_wollet",
"lwk_containers",
"lwk_common",
"lwk_rpc_model",
"lwk_test_util",
"lwk_wasm",
"lwk_boltz",
"lwk_payment_instructions",
"lwk_simplicity",
]
resolver = "2"
[patch.crates-io]
lwk_app = { path = "lwk_app" }
lwk_common = { path = "lwk_common" }
lwk_containers = { path = "lwk_containers" }
lwk_jade = { path = "lwk_jade" }
lwk_ledger = { path = "lwk_ledger" }
lwk_rpc_model = { path = "lwk_rpc_model" }
lwk_signer = { path = "lwk_signer" }
lwk_test_util = { path = "lwk_test_util" }
lwk_tiny_jrpc = { path = "lwk_tiny_jrpc" }
lwk_wollet = { path = "lwk_wollet" }
lwk_boltz = { path = "lwk_boltz" }
lwk_payment_instructions = { path = "lwk_payment_instructions" }
lwk_simplicity = { path = "lwk_simplicity" }
[profile.release-smaller]
inherits = "release"
opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = "abort" # Abort on panic
strip = "debuginfo" # Partially strip symbols from binary
[profile.release-with-debug]
inherits = "release"
debug = true # Include debug symbols for profiling
strip = "none" # Don't strip any symbols
[workspace.dependencies]
elements = { version = "0.25.0", features = ["base64", "serde"] }
elements-miniscript = { version = "0.4", features = ["base64", "serde"] }
thiserror = { version = "2.0.18" }