Remove hamcrest; add rust-serde (not compiling right now)

This commit is contained in:
Andrew Poelstra 2015-04-09 21:14:57 -05:00
parent e5a3e84c41
commit 5350207ff3
3 changed files with 2 additions and 11 deletions

View File

@ -14,9 +14,6 @@ git = "https://github.com/apoelstra/bitcoin-secp256k1-rs.git"
[dependencies.eventual]
git = "https://github.com/carllerche/eventual"
[dependencies.hamcrest]
git = "https://github.com/carllerche/eventual"
[dependencies]
byteorder = "*"
num_cpus = "*"
@ -24,8 +21,6 @@ rand = "*"
rust-crypto = "*"
rustc-serialize = "*"
serde = "*"
serde_macros = "*"
time = "*"
[dev-dependencies]
hamcrest = { git = "https://github.com/carllerche/hamcrest-rust.git" }

View File

@ -44,7 +44,7 @@
#![deny(unused_mut)]
#![warn(missing_doc)]
#[cfg(test)] extern crate hamcrest;
#![plugin(serde_macros)]
extern crate alloc;
extern crate byteorder;
@ -56,7 +56,6 @@ extern crate rand;
extern crate rustc_serialize as serialize;
extern crate secp256k1;
extern crate serde;
#[plugin(serde_macros)]
extern crate test;
extern crate time;

View File

@ -70,9 +70,6 @@ mod tests {
use super::Network;
use network::serialize::{deserialize, serialize};
use hamcrest::is;
#[test]
fn serialize_test() {
assert_eq!(serialize(&Network::Bitcoin).unwrap(), vec![0xf9, 0xbe, 0xb4, 0xd9]);