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]
|
||||
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" }
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue