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] [dependencies.eventual]
git = "https://github.com/carllerche/eventual" git = "https://github.com/carllerche/eventual"
[dependencies.hamcrest]
git = "https://github.com/carllerche/eventual"
[dependencies] [dependencies]
byteorder = "*" byteorder = "*"
num_cpus = "*" num_cpus = "*"
@ -24,8 +21,6 @@ rand = "*"
rust-crypto = "*" rust-crypto = "*"
rustc-serialize = "*" rustc-serialize = "*"
serde = "*" serde = "*"
serde_macros = "*"
time = "*" time = "*"
[dev-dependencies]
hamcrest = { git = "https://github.com/carllerche/hamcrest-rust.git" }

View File

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

View File

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