summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/dns.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/examples/dns.rs')
-rw-r--r--ipfs-api/examples/dns.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/examples/dns.rs b/ipfs-api/examples/dns.rs
index 02857e0..a9b0604 100644
--- a/ipfs-api/examples/dns.rs
+++ b/ipfs-api/examples/dns.rs
@@ -10,8 +10,8 @@ use ipfs_api::IpfsClient;
// Creates an Ipfs client, resolves ipfs.io, and lists the contents of it.
//
-#[cfg_attr(feature = "actix", actix_rt::main)]
-#[cfg_attr(feature = "hyper", tokio::main)]
+#[cfg_attr(feature = "with-actix", actix_rt::main)]
+#[cfg_attr(feature = "with-hyper", tokio::main)]
async fn main() {
eprintln!("connecting to localhost:5001...");