use new bitcoin-chain module extracted from bitcoin
[rust-lightning] / Cargo.toml
index 8290e28efe1b71be73e055e02b707092ea2fa69d..822484298536ada033829f0f67100bf107246ac0 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.
@@ -14,8 +14,11 @@ Still super-early code-dump quality and is missing large chunks. See README in g
 non_bitcoin_chain_hash_routing = []
 
 [dependencies]
-bitcoin = "0.10.7"
+bitcoin = "0.11"
+bitcoin-chain = { git = "https://github.com/rust-bitcoin/rust-bitcoin-chain", branch = "master" }
 rust-crypto = "0.2"
-rand = "0.3"
-secp256k1 = "0.8.1"
-num = "0.1"
+rand = "0.4"
+secp256k1 = "0.8"
+
+[patch.crates-io]
+bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin", branch = "master"  }
\ No newline at end of file