Update deps, including significant dep reduction in rust-bitcoin!
authorMatt Corallo <git@bluematt.me>
Wed, 21 Feb 2018 16:35:07 +0000 (11:35 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 21 Feb 2018 16:35:43 +0000 (11:35 -0500)
Cargo.toml
src/lib.rs
src/ln/channel.rs

index 8290e28efe1b71be73e055e02b707092ea2fa69d..bff665320040e6bfb1e03babf8fdc7ccd1800925 100644 (file)
@@ -14,8 +14,7 @@ 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"
 rust-crypto = "0.2"
-rand = "0.3"
-secp256k1 = "0.8.1"
-num = "0.1"
+rand = "0.4"
+secp256k1 = "0.8"
index 4a3ab27189da46f8ebac43eadbc8cf742ea082cf..c01321776e0ae043f7570a186e876ed305a2120c 100644 (file)
@@ -4,7 +4,6 @@ extern crate bitcoin;
 extern crate secp256k1;
 extern crate rand;
 extern crate crypto;
-extern crate num; //TODO: Convince andrew to not rely on this for fucking casting...
 
 pub mod chain;
 pub mod ln;
index 285cdf7b418a888033438e9ad33e86d792eb88a6..acc8c4e913f33778bd0448acaa18032707b6ca4a 100644 (file)
@@ -7,8 +7,6 @@ use bitcoin::util::hash::{Sha256dHash, Hash160};
 use bitcoin::util::bip143;
 use bitcoin::network::serialize::BitcoinHash;
 
-use num::FromPrimitive;
-
 use secp256k1::key::{PublicKey,SecretKey};
 use secp256k1::{Secp256k1,Message,Signature};
 use secp256k1;