[package] name = "ldk-node" version = "0.4.2" authors = ["Elias Rohrer "] homepage = "https://lightningdevkit.org/" license = "MIT OR Apache-2.0" edition = "2021" description = "A ready-to-go node implementation built using LDK." repository = "https://github.com/lightningdevkit/ldk-node/" readme = "README.md" keywords = ["bitcoin", "lightning", "ldk", "bdk"] categories = ["cryptography::cryptocurrencies"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] crate-type = ["lib", "staticlib", "cdylib"] name = "ldk_node" [profile.release-smaller] inherits = "release" opt-level = 'z' # Optimize for size. lto = true # Enable Link Time Optimization codegen-units = 1 # Reduce number of codegen units to increase optimizations. panic = 'abort' # Abort on panic [features] default = [] [dependencies] lightning = { version = "0.0.125", features = ["std"] } lightning-invoice = { version = "0.32.0" } lightning-net-tokio = { version = "0.0.125" } lightning-persister = { version = "0.0.125" } lightning-background-processor = { version = "0.0.125", features = ["futures"] } lightning-rapid-gossip-sync = { version = "0.0.125" } lightning-block-sync = { version = "0.0.125", features = ["rpc-client", "tokio"] } lightning-transaction-sync = { version = "0.0.125", features = ["esplora-async-https", "time"] } lightning-liquidity = { version = "0.1.0-alpha.6", features = ["std"] } #lightning = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main", features = ["std"] } #lightning-invoice = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main" } #lightning-net-tokio = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main" } #lightning-persister = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main" } #lightning-background-processor = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main", features = ["futures"] } #lightning-rapid-gossip-sync = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main" } #lightning-transaction-sync = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main", features = ["esplora-async"] } #lightning-liquidity = { git = "https://github.com/lightningdevkit/lightning-liquidity", branch="main", features = ["std"] } #lightning = { path = "../rust-lightning/lightning", features = ["std"] } #lightning-invoice = { path = "../rust-lightning/lightning-invoice" } #lightning-net-tokio = { path = "../rust-lightning/lightning-net-tokio" } #lightning-persister = { path = "../rust-lightning/lightning-persister" } #lightning-background-processor = { path = "../rust-lightning/lightning-background-processor", features = ["futures"] } #lightning-rapid-gossip-sync = { path = "../rust-lightning/lightning-rapid-gossip-sync" } #lightning-transaction-sync = { path = "../rust-lightning/lightning-transaction-sync", features = ["esplora-async"] } #lightning-liquidity = { path = "../lightning-liquidity", features = ["std"] } bdk_chain = { version = "=0.19.0", default-features = false, features = ["std"] } bdk_esplora = { version = "=0.18.0", default-features = false, features = ["async-https-rustls"]} bdk_wallet = { version = "=1.0.0-beta.4", default-features = false, features = ["std", "keys-bip39"]} reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] } rusqlite = { version = "0.28.0", features = ["bundled"] } bitcoin = "0.32.2" bip39 = "2.0.0" bip21 = { version = "0.5", features = ["std"], default-features = false } base64 = { version = "0.22.1", default-features = false, features = ["std"] } rand = "0.8.5" chrono = { version = "0.4", default-features = false, features = ["clock"] } tokio = { version = "1.37", default-features = false, features = [ "rt-multi-thread", "time", "sync", "macros" ] } esplora-client = { version = "0.9", default-features = false } libc = "0.2" uniffi = { version = "0.27.3", features = ["build"], optional = true } serde = { version = "1.0.210", default-features = false, features = ["std", "derive"] } serde_json = { version = "1.0.128", default-features = false, features = ["std"] } vss-client = "0.3" prost = { version = "0.11.6", default-features = false} [target.'cfg(windows)'.dependencies] winapi = { version = "0.3", features = ["winbase"] } [dev-dependencies] lightning = { version = "0.0.125", features = ["std", "_test_utils"] } #lightning = { git = "https://github.com/lightningdevkit/rust-lightning", branch="main", features = ["std", "_test_utils"] } electrum-client = { version = "0.21.0", default-features = true } bitcoincore-rpc = { version = "0.19.0", default-features = false } proptest = "1.0.0" regex = "1.5.6" [target.'cfg(not(no_download))'.dev-dependencies] electrsd = { version = "0.29.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_25_0"] } [target.'cfg(no_download)'.dev-dependencies] electrsd = { version = "0.29.0", features = ["legacy"] } [target.'cfg(cln_test)'.dev-dependencies] clightningrpc = { version = "0.3.0-beta.8", default-features = false } [build-dependencies] uniffi = { version = "0.27.3", features = ["build"], optional = true } [profile.release] panic = "abort" [profile.dev] panic = "abort" [lints.rust.unexpected_cfgs] level = "forbid" # When adding a new cfg attribute, ensure that it is added to this list. check-cfg = [ "cfg(vss_test)", "cfg(ldk_bench)", "cfg(tokio_unstable)", "cfg(cln_test)", ]