summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/get_commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/examples/get_commands.rs')
-rw-r--r--ipfs-api/examples/get_commands.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipfs-api/examples/get_commands.rs b/ipfs-api/examples/get_commands.rs
index 5ca7b00..fb019b6 100644
--- a/ipfs-api/examples/get_commands.rs
+++ b/ipfs-api/examples/get_commands.rs
@@ -35,6 +35,8 @@ fn print_recursive(indent: usize, cmd: &response::CommandsResponse) {
#[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();