Remove hamcrest; add rust-serde (not compiling right now)
This commit is contained in:
parent
e5a3e84c41
commit
5350207ff3
|
@ -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" }
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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]);
|
||||||
|
|
Loading…
Reference in New Issue