7a42a02e964a89e494af664479fe6c28b5f4cc0f
[ldk-sample] / Cargo.toml
1 [package]
2 name = "ldk-tutorial-node"
3 version = "0.1.0"
4 authors = ["Valentine Wallace <vwallace@protonmail.com>"]
5 license = "MIT OR Apache-2.0"
6 edition = "2018"
7
8 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
9
10 [dependencies]
11 # lightning-background-processor = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
12 lightning-background-processor = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" }
13 # lightning-background-processor = { path = "../rust-lightning/lightning-background-processor" }
14 base64 = "0.13.0"
15 bitcoin = "0.26"
16 bitcoin-bech32 = "0.7"
17 bech32 = "0.7"
18 hex = "0.3"
19
20 # lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
21 lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" }
22 # lightning = { path = "../rust-lightning/lightning" }
23
24 # lightning-block-sync = { git = "https://github.com/rust-bitcoin/rust-lightning", features = ["rpc-client"], branch = "main" }
25 lightning-block-sync = { git = "https://github.com/rust-bitcoin/rust-lightning", features = ["rpc-client"], rev = "d4d322580994857b1222488f8467311d6db61482" }
26 # lightning-block-sync = { path = "../rust-lightning/lightning-block-sync", features = ["rpc-client"] }
27
28 # lightning-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
29 lightning-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" }
30 # lightning-invoice = { path = "../rust-lightning/lightning-invoice" }
31
32 # lightning-net-tokio = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
33 lightning-net-tokio = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" }
34 # lightning-net-tokio = { path = "../rust-lightning/lightning-net-tokio" }
35
36 # lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" }
37 lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" }
38 # lightning-persister = { path = "../rust-lightning/lightning-persister" }
39
40 time = "0.2"
41 rand = "0.4"
42 serde_json = { version = "1.0" }
43 tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
44
45 [profile.release]
46 panic = "abort"
47
48 [profile.dev]
49 panic = "abort"