Update bindings workflow in CI to 0.0.105
[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 [features]
18 no-std = ["bitcoin/no-std", "lightning/no-std", "lightning-invoice/no-std", "core2"]
19 std = ["bitcoin/std", "lightning/std", "lightning-invoice/std"]
20
21 [dependencies]
22 bitcoin = { version = "0.27", default-features = false }
23 secp256k1 = { version = "0.20.3", features = ["global-context-less-secure"] }
24 # Note that the following line is matched by genbindings to update the path
25 lightning = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.105-bindings", default-features = false }
26 lightning-persister = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.105-bindings", default-features = false }
27 lightning-invoice = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.105-bindings", default-features = false }
28 lightning-background-processor = { git = "https://github.com/lightningdevkit/rust-lightning", branch = "0.0.105-bindings", default-features = false }
29
30 core2 = { version = "0.3.0", optional = true, default-features = false }
31
32 # Always force panic=abort, further options are set in the genbindings.sh build script
33 [profile.dev]
34 panic = "abort"
35
36 [profile.release]
37 panic = "abort"