Merge pull request #10 from TheBlueMatt/2021-03-enable-wallclock
[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://git.bitcoin.ninja/rust-lightning", rev = "6fcac8bc65ed6d372e0b8c367e9934c754f99ff3", features = ["allow_wallclock_use"] }
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"