]> git.bitcoin.ninja Git - rust-lightning/blob - Cargo.toml
Merge pull request #360 from TheBlueMatt/2019-07-new-warnings
[rust-lightning] / Cargo.toml
1 [package]
2 name = "lightning"
3 version = "0.0.9"
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.18"
26 bitcoin_hashes = "0.3"
27 secp256k1 = "0.12"
28
29 [dev-dependencies.bitcoin]
30 version = "0.18"
31 features = ["bitcoinconsensus"]
32
33 [dev-dependencies]
34 hex = "0.3"
35 rand = "0.4"
36
37 [profile.dev]
38 opt-level = 1