summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/dag.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/examples/dag.rs')
-rw-r--r--ipfs-api/examples/dag.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipfs-api/examples/dag.rs b/ipfs-api/examples/dag.rs
index 20d7bef..5632021 100644
--- a/ipfs-api/examples/dag.rs
+++ b/ipfs-api/examples/dag.rs
@@ -15,6 +15,8 @@ use std::io::Cursor;
#[cfg_attr(feature = "with-actix", actix_rt::main)]
#[cfg_attr(feature = "with-hyper", tokio::main)]
async fn main() {
+ tracing_subscriber::fmt::init();
+
eprintln!("note: this must be run in the root of the project repository");
eprintln!("connecting to localhost:5001...");