Skip to content

Commit

Permalink
Also remove multihash from peerstore
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka committed Dec 6, 2017
1 parent 4f3f9f6 commit 7abd400
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libp2p-peerstore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ datastore = { path = "../datastore" }
futures = "0.1.0"
owning_ref = "0.3.3"
multiaddr = "0.2"
multihash = "0.7.0"
serde = "1.0"
serde_derive = "1.0"

[dev-dependencies]
multihash = "0.7.0"
tempfile = "2.2"
1 change: 0 additions & 1 deletion libp2p-peerstore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ extern crate base58;
extern crate datastore;
extern crate futures;
extern crate multiaddr;
extern crate multihash;
extern crate owning_ref;
extern crate serde;
#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion libp2p-peerstore/src/peerstore_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@

macro_rules! peerstore_tests {
({$create_peerstore:expr} $({$stmt:stmt})*) => {
extern crate multihash;
use std::thread;
use std::time::Duration;
use {Peerstore, PeerAccess};
use multiaddr::Multiaddr;
use multihash;

#[test]
fn initially_empty() {
Expand Down

0 comments on commit 7abd400

Please sign in to comment.