Update for new rust-bitcoin API, avoid some duplicate hashing
[rust-lightning] / Cargo.toml
index 8290e28efe1b71be73e055e02b707092ea2fa69d..3e07441c17ef38070c0877e347c4033fa1f35bd4 100644 (file)
@@ -2,7 +2,7 @@
 name = "lightning"
 version = "0.0.1"
 authors = ["Matt Corallo"]
-license = "AGPL-3.0"
+license = "Apache-2.0"
 repository = "https://github.com/TheBlueMatt/rust-lightning/"
 description = """
 A Bitcoin Lightning implementation in Rust.
@@ -12,10 +12,10 @@ Still super-early code-dump quality and is missing large chunks. See README in g
 [features]
 # Supports tracking channels with a non-bitcoin chain hashes. Currently enables all kinds of fun DoS attacks.
 non_bitcoin_chain_hash_routing = []
+fuzztarget = ["secp256k1/fuzztarget", "bitcoin/fuzztarget"]
 
 [dependencies]
-bitcoin = "0.10.7"
+bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin" }
 rust-crypto = "0.2"
-rand = "0.3"
-secp256k1 = "0.8.1"
-num = "0.1"
+rand = "0.4"
+secp256k1 = "0.9"