Update to latest upstream rust-bitcoin
[rust-lightning] / lightning / Cargo.toml
1 [package]
2 name = "lightning"
3 version = "0.0.11"
4 authors = ["Matt Corallo"]
5 license = "Apache-2.0"
6 repository = "https://github.com/rust-bitcoin/rust-lightning/"
7 description = """
8 A Bitcoin Lightning library in Rust.
9 Does most of the hard work, without implying a specific runtime, requiring clients implement basic network logic, chain interactions and disk storage.
10 Still missing tons of error-handling. See GitHub issues for suggested projects if you want to contribute. Don't have to bother telling you not to use this for anything serious, because you'd have to build a client around it to even try.
11 """
12
13 [features]
14 fuzztarget = ["bitcoin/fuzztarget"]
15 # Unlog messages superior at targeted level.
16 max_level_off = []
17 max_level_error = []
18 max_level_warn = []
19 max_level_info = []
20 max_level_debug = []
21 # Allow signing of local transactions that may have been revoked or will be revoked, for functional testing (e.g. justice tx handling).
22 # This is unsafe to use in production because it may result in the counterparty publishing taking our funds.
23 unsafe_revoked_tx_signing = []
24
25 [dependencies]
26 bitcoin = "0.24"
27
28 [dev-dependencies.bitcoin]
29 version = "0.24"
30 features = ["bitcoinconsensus"]
31
32 [dev-dependencies]
33 hex = "0.3"
34 regex = "0.1.80"