forked from wizardsardine/liana
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (38 loc) · 1.37 KB
/
Cargo.toml
File metadata and controls
41 lines (38 loc) · 1.37 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
[workspace]
resolver = "2"
members = [
"fuzz",
"coincube-core",
"coincubed",
"coincube-gui",
"coincube-ui",
"coincube-spark-protocol",
]
# coincube-spark-bridge is deliberately NOT a member of this workspace.
# It links breez-sdk-spark 0.13.1, whose `tokio_with_wasm ^0.8.7` and
# `rusqlite ^0.32.1 (links = "sqlite3")` dep requirements are unresolvable
# together with breez-sdk-liquid 0.12.2. Making the bridge a standalone
# workspace (with its own Cargo.lock) gives it an isolated dep graph and
# lets it coexist with the Liquid-linked gui at runtime via stdin/stdout
# IPC. See coincube-spark-bridge/Cargo.toml for its own [workspace] block.
exclude = ["coincube-spark-bridge"]
default-members = [
"coincube-core",
"coincubed",
"coincube-gui",
"coincube-ui",
"coincube-spark-protocol",
]
# Patch to resolve dependency conflicts with Breez SDK
[patch.crates-io]
# Resolve secp256k1-zkp MuSig2 types needed by boltz-client (Breez SDK dependency)
secp256k1-zkp = { git = "https://github.com/breez/rust-secp256k1-zkp.git", rev = "eac2e479255a6e32b5588bc25ee53c642fdd8395" }
[patch."https://github.com/breez/rusqlite_migration"]
rusqlite_migration = { git = "https://github.com/sokorototo/rusqlite_migration", branch = "rusqlite-v0.38.0" }
[profile.minimal]
inherits = "release"
opt-level = "z"
lto = "thin"
strip = true
codegen-units = 1
panic = "abort"