Merge pull request #797 from TheBlueMatt/2021-02-no-addr-order
[rust-lightning] / lightning / Cargo.toml
1 [package]
2 name = "lightning"
3 version = "0.0.12"
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", "regex"]
15 # Internal test utilities exposed to other repo crates
16 _test_utils = ["hex", "regex"]
17 # Unlog messages superior at targeted level.
18 max_level_off = []
19 max_level_error = []
20 max_level_warn = []
21 max_level_info = []
22 max_level_debug = []
23 # Allow signing of local transactions that may have been revoked or will be revoked, for functional testing (e.g. justice tx handling).
24 # This is unsafe to use in production because it may result in the counterparty publishing taking our funds.
25 unsafe_revoked_tx_signing = []
26 unstable = []
27
28 [dependencies]
29 bitcoin = "0.24"
30
31 hex = { version = "0.3", optional = true }
32 regex = { version = "0.1.80", optional = true }
33
34 [dev-dependencies.bitcoin]
35 version = "0.24"
36 features = ["bitcoinconsensus"]
37
38 [dev-dependencies]
39 hex = "0.3"
40 regex = "0.1.80"