summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/resolve_name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/examples/resolve_name.rs')
-rw-r--r--ipfs-api/examples/resolve_name.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipfs-api/examples/resolve_name.rs b/ipfs-api/examples/resolve_name.rs
index 57ad10e..a419511 100644
--- a/ipfs-api/examples/resolve_name.rs
+++ b/ipfs-api/examples/resolve_name.rs
@@ -16,6 +16,8 @@ const IPFS_IPNS: &str = "/ipns/ipfs.io";
#[cfg_attr(feature = "with-actix", actix_rt::main)]
#[cfg_attr(feature = "with-hyper", tokio::main)]
async fn main() {
+ tracing_subscriber::fmt::init();
+
eprintln!("connecting to localhost:5001...");
let client = IpfsClient::default();