summaryrefslogtreecommitdiffstats
path: root/ipfs-api-examples/examples
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2021-04-04 18:51:03 -0400
committerFerris Tseng <ferristseng@fastmail.fm>2021-04-04 18:51:03 -0400
commit6430c7631a2efc497fc14595739b90e20957d293 (patch)
treec5f536fdb15fefeeae1c64f09ad321dc60e9fe89 /ipfs-api-examples/examples
parent60746a30c80f6b55263ef366cf8222d7c58c0c28 (diff)
update examples
Diffstat (limited to 'ipfs-api-examples/examples')
-rw-r--r--ipfs-api-examples/examples/pubsub.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/ipfs-api-examples/examples/pubsub.rs b/ipfs-api-examples/examples/pubsub.rs
index 0311ed7..8944f3c 100644
--- a/ipfs-api-examples/examples/pubsub.rs
+++ b/ipfs-api-examples/examples/pubsub.rs
@@ -7,11 +7,9 @@
//
use futures::{future, select, FutureExt, StreamExt, TryStreamExt};
-use ipfs_api_examples::{
- ipfs_api::{IpfsApi, IpfsClient},
- tokio::time,
-};
+use ipfs_api_examples::ipfs_api::{IpfsApi, IpfsClient};
use std::time::Duration;
+use tokio::time;
use tokio_stream::wrappers::IntervalStream;
static TOPIC: &'static str = "test";