]> git.bitcoin.ninja Git - rust-lightning/blob - Cargo.toml
Merge pull request #241 from TheBlueMatt/2018-10-peer-free-panic
[rust-lightning] / Cargo.toml
1 [package]
2 name = "lightning"
3 version = "0.0.6"
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 build = "build.rs"
13
14 [features]
15 # Supports tracking channels with a non-bitcoin chain hashes. Currently enables all kinds of fun DoS attacks.
16 non_bitcoin_chain_hash_routing = []
17 fuzztarget = ["secp256k1/fuzztarget", "bitcoin/fuzztarget"]
18 # Unlog messages superior at targeted level.
19 max_level_off = []
20 max_level_error = []
21 max_level_warn = []
22 max_level_info = []
23 max_level_debug = []
24
25 [dependencies]
26 bitcoin = "0.14"
27 rust-crypto = "0.2"
28 rand = "0.4"
29 secp256k1 = "0.11"
30
31 [build-dependencies]
32 cc = "1.0"
33
34 [dev-dependencies.bitcoin]
35 version = "0.14"
36 features = ["bitcoinconsensus"]
37
38 [dev-dependencies]
39 hex = "0.3"
40
41 [profile.dev]
42 opt-level = 1