summaryrefslogtreecommitdiffstats
path: root/ipfs-api/examples/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/examples/config.rs')
-rw-r--r--ipfs-api/examples/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/examples/config.rs b/ipfs-api/examples/config.rs
index 884ecb4..3964146 100644
--- a/ipfs-api/examples/config.rs
+++ b/ipfs-api/examples/config.rs
@@ -10,8 +10,8 @@ use ipfs_api::IpfsClient;
// Creates an Ipfs client, read & set config values.
//
-#[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!("note: this must be run in the root of the project repository");
eprintln!("connecting to localhost:5001...");