summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/bootstrap_default.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/examples/bootstrap_default.rs')
-rw-r--r--ipfs-api/examples/bootstrap_default.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/examples/bootstrap_default.rs b/ipfs-api/examples/bootstrap_default.rs
index 9377c49..8dc3772 100644
--- a/ipfs-api/examples/bootstrap_default.rs
+++ b/ipfs-api/examples/bootstrap_default.rs
@@ -11,8 +11,8 @@ use ipfs_api::IpfsClient;
// Lists clients in bootstrap list, then adds the default list, then removes
// them, and readds them.
//
-#[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...");