Upgrade to secp256k1 v12, bitcoin v16, and crates bitcoin_hashes
[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
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.16"
26 bitcoin_hashes = "0.2"
27 rand = "0.4"
28 secp256k1 = "0.12"
29
30 [dev-dependencies.bitcoin]
31 version = "0.16"
32 features = ["bitcoinconsensus"]
33
34 [dev-dependencies]
35 hex = "0.3"
36
37 [profile.dev]
38 opt-level = 1