0b20e3f6cc4d9f8b034340486651def3067836f2
[ldk-c-bindings] / lightning-c-bindings / Cargo.toml
1 [package]
2 name = "lightning-c-bindings"
3 version = "0.0.1"
4 authors = ["Matt Corallo"]
5 license = "Apache-2.0"
6 edition = "2018"
7 description = """
8 Utilities to fetch the chain from Bitcoin Core REST/RPC Interfaces and feed them into Rust Lightning.
9 """
10
11 [lib]
12 name = "ldk"
13 crate-type = ["staticlib"
14 # Note that the following line is matched exactly by genbindings to turn off dylib creation
15 ,"cdylib"]
16
17 [dependencies]
18 bitcoin = "0.26"
19 secp256k1 = { version = "0.20.1", features = ["global-context-less-secure"] }
20 # Note that the following line is matched by genbindings to update the path
21 lightning = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "8b4ea56966878140b11aa3e17b44fcf1e01d6413" }
22
23 [patch.crates-io]
24 # Rust-Secp256k1 PR 279. Should be dropped once merged.
25 secp256k1 = { git = 'https://github.com/TheBlueMatt/rust-secp256k1', rev = '15a0d4195a20355f6b1e8f54c84eba56abc15cbd' }
26
27 # Always force panic=abort, further options are set in the genbindings.sh build script
28 [profile.dev]
29 panic = "abort"
30
31 [profile.release]
32 panic = "abort"