X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=Cargo.toml;h=99699ebef7e2928e27f337d5f269d5e3ee314cc2;hb=HEAD;hp=4ce68dfff7c961d450bc4f3bee28ea993bdc3d3c;hpb=b4a50585c59e578b89c959ed01def10d9def1b39;p=ldk-sample diff --git a/Cargo.toml b/Cargo.toml index 4ce68df..99699eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ldk-tutorial-node" +name = "ldk-sample" version = "0.1.0" authors = ["Valentine Wallace "] license = "MIT OR Apache-2.0" @@ -8,23 +8,27 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -lightning-background-processor = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "6fcac8bc65ed6d372e0b8c367e9934c754f99ff3" } -# lightning-background-processor = { path = "../rust-lightning/background-processor" } +lightning = { version = "0.0.121", features = ["max_level_trace"] } +lightning-block-sync = { version = "0.0.121", features = [ "rpc-client", "tokio" ] } +lightning-invoice = { version = "0.29.0" } +lightning-net-tokio = { version = "0.0.121" } +lightning-persister = { version = "0.0.121" } +lightning-background-processor = { version = "0.0.121", features = [ "futures" ] } +lightning-rapid-gossip-sync = { version = "0.0.121" } + base64 = "0.13.0" -bitcoin = "0.26" -bitcoin-bech32 = "0.7" -bech32 = "0.7" -hex = "0.3" -lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "6fcac8bc65ed6d372e0b8c367e9934c754f99ff3" } -# lightning = { path = "../rust-lightning/lightning" } -lightning-block-sync = { git = "https://github.com/rust-bitcoin/rust-lightning", features = ["rpc-client"], rev = "6fcac8bc65ed6d372e0b8c367e9934c754f99ff3" } -# lightning-block-sync = { path = "../rust-lightning/lightning-block-sync", features = ["rpc-client"] } -lightning-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning-invoice", rev = "aa3a57b9dca5205fa25fa333a2db165d7e77b3b0" } -lightning-net-tokio = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "6fcac8bc65ed6d372e0b8c367e9934c754f99ff3" } -# lightning-net-tokio = { path = "../rust-lightning/lightning-net-tokio" } -lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "6fcac8bc65ed6d372e0b8c367e9934c754f99ff3" } -# lightning-persister = { path = "../rust-lightning/lightning-persister" } -time = "0.2" +bitcoin = "0.30.2" +bitcoin-bech32 = "0.12" +bech32 = "0.8" +libc = "0.2" + +chrono = { version = "0.4", default-features = false, features = ["clock"] } rand = "0.4" serde_json = { version = "1.0" } -tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] } +tokio = { version = "1", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] } + +[profile.release] +panic = "abort" + +[profile.dev] +panic = "abort"