Expose test_utils to fuzztarget (in addition to _test_utils feature)
[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
27 [dependencies]
28 bitcoin = "0.24"
29
30 hex = { version = "0.3", optional = true }
31 regex = { version = "0.1.80", optional = true }
32
33 [dev-dependencies.bitcoin]
34 version = "0.24"
35 features = ["bitcoinconsensus"]
36
37 [dev-dependencies]
38 hex = "0.3"
39 regex = "0.1.80"