Merge pull request #131 from tnull/2024-02-align-rustfmt
[ldk-sample] / Cargo.toml
index 66b986cfa1c2af4034006c8dd8d57156f682f646..99699ebef7e2928e27f337d5f269d5e3ee314cc2 100644 (file)
@@ -1,9 +1,34 @@
 [package]
-name = "ldk-tutorial-node"
+name = "ldk-sample"
 version = "0.1.0"
 authors = ["Valentine Wallace <vwallace@protonmail.com>"]
+license = "MIT OR Apache-2.0"
 edition = "2018"
 
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
+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.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", features = [ "io-util", "macros", "rt", "rt-multi-thread", "sync", "net", "time" ] }
+
+[profile.release]
+panic = "abort"
+
+[profile.dev]
+panic = "abort"