]> git.bitcoin.ninja Git - rust-lightning/blob - lightning/Cargo.toml
Run with mutagen on travis.
[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 # Supports tracking channels with a non-bitcoin chain hashes. Currently enables all kinds of fun DoS attacks.
15 non_bitcoin_chain_hash_routing = []
16 # Unlog messages superior at targeted level.
17 max_level_off = []
18 max_level_error = []
19 max_level_warn = []
20 max_level_info = []
21 max_level_debug = []
22
23 # Testing only features, don't enable these unless you want to run rust-lightning tests!
24 fuzztarget = ["bitcoin/fuzztarget"]
25 mutation_testing = ["mutagen"]
26
27 [dependencies]
28 bitcoin = "0.23"
29 mutagen = { git = "https://github.com/TheBlueMatt/mutagen", optional = true }
30
31 [dev-dependencies.bitcoin]
32 version = "0.23"
33 features = ["bitcoinconsensus"]
34
35 [dev-dependencies]
36 hex = "0.3"
37 rand = "0.4"