]> git.bitcoin.ninja Git - rust-lightning/blob - lightning/Cargo.toml
Add a helper struct to allow a user to safely pass in an addr list
[rust-lightning] / lightning / Cargo.toml
1 [package]
2 name = "lightning"
3 version = "0.0.10"
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 fuzztarget = ["secp256k1/fuzztarget", "bitcoin/fuzztarget", "bitcoin_hashes/fuzztarget"]
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
24 [dependencies]
25 bitcoin = "0.21"
26 bitcoin_hashes = "0.7"
27 secp256k1 = "0.15"
28
29 [dev-dependencies.bitcoin]
30 version = "0.21"
31 features = ["bitcoinconsensus"]
32
33 [dev-dependencies]
34 hex = "0.3"
35 rand = "0.4"