X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=Cargo.toml;h=7a42a02e964a89e494af664479fe6c28b5f4cc0f;hb=3f7695392d8b96ebb0e154ab59a929e95f767582;hp=4ce68dfff7c961d450bc4f3bee28ea993bdc3d3c;hpb=b4a50585c59e578b89c959ed01def10d9def1b39;p=ldk-sample diff --git a/Cargo.toml b/Cargo.toml index 4ce68df..7a42a02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,23 +8,42 @@ 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-background-processor = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } +lightning-background-processor = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" } +# lightning-background-processor = { path = "../rust-lightning/lightning-background-processor" } 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 = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } +lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" } # lightning = { path = "../rust-lightning/lightning" } -lightning-block-sync = { git = "https://github.com/rust-bitcoin/rust-lightning", features = ["rpc-client"], rev = "6fcac8bc65ed6d372e0b8c367e9934c754f99ff3" } + +# lightning-block-sync = { git = "https://github.com/rust-bitcoin/rust-lightning", features = ["rpc-client"], branch = "main" } +lightning-block-sync = { git = "https://github.com/rust-bitcoin/rust-lightning", features = ["rpc-client"], rev = "d4d322580994857b1222488f8467311d6db61482" } # 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-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } +lightning-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" } +# lightning-invoice = { path = "../rust-lightning/lightning-invoice" } + +# lightning-net-tokio = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } +lightning-net-tokio = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" } # lightning-net-tokio = { path = "../rust-lightning/lightning-net-tokio" } -lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "6fcac8bc65ed6d372e0b8c367e9934c754f99ff3" } + +# lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", branch = "main" } +lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "d4d322580994857b1222488f8467311d6db61482" } # lightning-persister = { path = "../rust-lightning/lightning-persister" } + time = "0.2" rand = "0.4" serde_json = { version = "1.0" } tokio = { version = "1.0", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] } + +[profile.release] +panic = "abort" + +[profile.dev] +panic = "abort"