Merge pull request #44 from TheBlueMatt/main
[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.27"
19 secp256k1 = { version = "0.20.3", 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 = "367a2ccf2c1856bba67f12c82a4ab80d7941616f", features = ["allow_wallclock_use"] }
22 lightning-persister = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "367a2ccf2c1856bba67f12c82a4ab80d7941616f" }
23 lightning-invoice = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "367a2ccf2c1856bba67f12c82a4ab80d7941616f" }
24 lightning-background-processor = { git = "https://github.com/rust-bitcoin/rust-lightning", rev = "367a2ccf2c1856bba67f12c82a4ab80d7941616f" }
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"