forked from RGB-Tools/rgb-lightning-node
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
139 lines (129 loc) · 5.84 KB
/
Copy pathCargo.toml
File metadata and controls
139 lines (129 loc) · 5.84 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[package]
name = "rgb-lightning-node"
version = "0.1.0"
edition = "2021"
rust-version = "1.88.0"
[lib]
name = "rgb_lightning_node"
crate-type = ["lib", "staticlib", "cdylib"]
[features]
default = []
test-utils = []
vls = ["signer-external/with-vls"]
vss = ["rgb-lib/vss", "dep:vss-client"]
[dependencies]
amplify = { version = "=4.8.1", default-features = false }
anyhow = "1.0.93"
axum = { version = "0.7.7", features = ["multipart"] }
axum-extra = "0.9.4"
# axum-macros = "0.4.2" # uncomment to use debug_handler
baid58 = "0.4.4"
base64 = "0.22.1"
bincode = "1"
biscuit-auth = "6.0.0"
bitcoin = "0.32"
bitcoin-bech32 = "0.13"
chacha20poly1305 = { version = "0.10.1", features = ["stream"] }
chacha20 = "0.9.1"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
clap = "4.5.20"
dirs = "5.0.1"
electrum-client = "0.20.0"
esplora-client = { version = "0.12", default-features = false, features = ["blocking-https-rustls"] }
futures = "0.3"
hex = { package = "hex-conservative", version = "0.3.0", default-features = false }
lightning = { version = "0.2.0", features = ["dnssec"] }
lightning-background-processor = { version = "0.2.0" }
lightning-block-sync = { version = "0.2.0", features = ["rpc-client", "tokio"] }
lightning-dns-resolver = { version = "0.3.0" }
lightning-invoice = { version = "0.34.0", features = ["std"] }
lightning-macros = { version = "0.2.0" }
lightning-net-tokio = { version = "0.2.0" }
lightning-persister = { version = "0.2.0", features = ["tokio"] }
lightning-rapid-gossip-sync = { version = "0.2.0" }
lightning-transaction-sync = { version = "0.2.0", features = ["esplora-blocking", "electrum"] }
magic-crypt = "4.0.1"
rand = "0.8.5"
regex = { version = "1.11", default-features = false }
reqwest = { version = "0.12", default-features = false, features = ["json", "native-tls"] }
rgb-lib = { git = "https://github.com/UTEXO-Protocol/rgb-lib.git", tag = "v0.3.0-beta.24", features = [
"electrum",
"esplora",
] }
psrgbt = { package = "rgb-psbt-utils", version = "=0.11.1-rc.10", default-features = false }
rln-migration = { path = "migration" }
# Pinned fork/branch for RGB compatibility work; CI and clones do not require a sibling checkout.
signer-external = { git = "https://github.com/UTEXO-Protocol/rln-external-signer.git", branch = "main", default-features = false }
rustls = { version = "0.23", default-features = false, features = ["aws_lc_rs"] }
sea-orm = { version = "1.1.19", default-features = false, features = [
"macros",
"runtime-tokio-rustls",
"sqlx-sqlite",
"with-chrono",
] }
scrypt = "0.11.0"
serde = { version = "^1.0", features = ["derive"] }
serde_json = "1.0"
prost = "0.13"
tempfile = "3.14.0"
thiserror = "2.0"
time = { version = "0.3.36", features = ["std"] }
tokio = { version = "1", features = ["fs", "io-util", "macros", "rt", "rt-multi-thread", "signal", "sync", "net", "time"] }
tokio-util = { version = "0.7.12", features = ["codec"] }
tower-http = { version = "0.6.1", features = ["cors", "limit", "trace"] }
tracing = "0.1"
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
typenum = "1.17.0"
uuid = { version = "1.11.0", default-features = false, features = ["v4"] }
# `vls-protocol` remains on crates.io; only `vls-core` and
# `vls-protocol-signer` need the RGB compatibility forks.
vls-protocol = "0.14.0"
vls-protocol-client = "0.14.0"
vls-protocol-signer = "0.14.0"
# Use the remote RGB compatibility fork for `vls-core`.
lightning-signer = { package = "vls-core", version = "0.14.0", features = ["rgb-commitment-compat"] }
walkdir = "2.5.0"
uniffi = { version = "0.28.3", features = ["build"], optional = true }
vss-client = { package = "vss-client-ng", git = "https://github.com/lightningdevkit/vss-client", rev = "ad63805047561dcf3117cd992ad6d8bc3881adef", default-features = false, features = ["sigs-auth"], optional = true }
zip = { version = "2.2.0", default-features = false, features = ["time", "zstd"] }
[dev-dependencies]
dircmp = "0.2.0"
electrum-client = "0.20.0"
http = "1.4.0"
lazy_static = { version = "1.5.0", default-features = false }
lightning = { version = "0.2.0", features = ["_rln_test_hooks"] }
once_cell = "1.20.0"
reqwest = { version = "0.12", default-features = false, features = ["json", "multipart", "native-tls", "stream"] }
serial_test = "3.1.1"
tracing-test = "0.2.5"
[build-dependencies]
uniffi = { version = "0.28.3", features = ["build"], optional = true }
[patch.crates-io]
lightning = { path = "./rust-lightning/lightning" }
lightning-background-processor = { path = "./rust-lightning/lightning-background-processor" }
lightning-block-sync = { path = "./rust-lightning/lightning-block-sync" }
lightning-dns-resolver = { path = "./rust-lightning/lightning-dns-resolver" }
lightning-invoice = { path = "./rust-lightning/lightning-invoice" }
lightning-net-tokio = { path = "./rust-lightning/lightning-net-tokio" }
lightning-persister = { path = "./rust-lightning/lightning-persister" }
lightning-rapid-gossip-sync = { path = "./rust-lightning/lightning-rapid-gossip-sync" }
lightning-transaction-sync = { path = "./rust-lightning/lightning-transaction-sync" }
# Use the UTEXO RGB compatibility branches; no sibling local checkout required.
vls-core = { git = "https://github.com/UTEXO-Protocol/vls-core.git", branch = "feat/rgb-compatibility" }
vls-protocol-signer = { git = "https://github.com/UTEXO-Protocol/vls-protocol-signer.git", branch = "feat/rgb-compatibility" }
[lints.rust.unexpected_cfgs]
level = "allow"
[profile.reldebug]
inherits = "release"
debug = 1
[[test]]
name = "lib_core"
path = "src/test/lib_core.rs"
required-features = ["uniffi", "test-utils"]
# Needs `uniffi` + `test-utils` + `vls`: external-signer `lib_sdk` tests use `NativeExternalSigner`
# (real PSBT signing) behind a tunable `ExternalSignerHost` (same protobuf wire as production).
[[test]]
name = "lib_sdk"
path = "src/test/lib_sdk/mod.rs"
required-features = ["uniffi", "test-utils", "vls"]