Switch Sha256 to using bitcoin_hashes and our own HKDF
[rust-lightning] / Cargo.toml
1 [package]
2 name = "lightning"
3 version = "0.0.7"
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", "bitcoin_hashes/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.15"
27 bitcoin_hashes = { git = "https://github.com/TheBlueMatt/bitcoin_hashes", branch = "rust-lightning-dep" }
28 rust-crypto = "0.2"
29 rand = "0.4"
30 secp256k1 = "0.11"
31
32 [build-dependencies]
33 cc = "1.0"
34
35 [dev-dependencies.bitcoin]
36 version = "0.15"
37 features = ["bitcoinconsensus"]
38
39 [dev-dependencies]
40 hex = "0.3"
41
42 [profile.dev]
43 opt-level = 1