Initial checkin with no changes from current RL git head
[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 lightning = { version = "0.0.12", path = "../lightning" }
21
22 [patch.crates-io]
23 # Rust-Secp256k1 PR 279. Should be dropped once merged.
24 secp256k1 = { git = 'https://github.com/TheBlueMatt/rust-secp256k1', rev = '15a0d4195a20355f6b1e8f54c84eba56abc15cbd' }
25
26 # Always force panic=abort, further options are set in the genbindings.sh build script
27 [profile.dev]
28 panic = "abort"
29
30 [profile.release]
31 panic = "abort"
32
33 # We eventually want to join the root workspace, but for now, the bindings generation is
34 # a bit brittle and we don't want to hold up other developers from making changes just
35 # because they break the bindings
36 [workspace]