Adapt to the lightning_invoice crate moving to Rust-Lightning
[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", rev = "3d51b11fe99c9d6a41b0d662efdf5693d9600552" }
12 # lightning-background-processor = { path = "../rust-lightning/background-processor" }
13 base64 = "0.13.0"
14 bitcoin = "0.26"
15 bitcoin-bech32 = "0.7"
16 bech32 = "0.7"
17 hex = "0.3"
18 lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "3d51b11fe99c9d6a41b0d662efdf5693d9600552" }
19 # lightning = { path = "../rust-lightning/lightning" }
20 lightning-block-sync = { git = "https://github.com/rust-bitcoin/rust-lightning", features = ["rpc-client"], rev = "3d51b11fe99c9d6a41b0d662efdf5693d9600552" }
21 # lightning-block-sync = { path = "../rust-lightning/lightning-block-sync", features = ["rpc-client"] }
22 lightning-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "3d51b11fe99c9d6a41b0d662efdf5693d9600552" }
23 lightning-net-tokio = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "3d51b11fe99c9d6a41b0d662efdf5693d9600552" }
24 # lightning-net-tokio = { path = "../rust-lightning/lightning-net-tokio" }
25 lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "3d51b11fe99c9d6a41b0d662efdf5693d9600552" }
26 # lightning-persister = { path = "../rust-lightning/lightning-persister" }
27 time = "0.2"
28 rand = "0.4"
29 serde_json = { version = "1.0" }
30 tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }