diff options
Diffstat (limited to 'ipfs-api/examples/mfs.rs')
-rw-r--r-- | ipfs-api/examples/mfs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/examples/mfs.rs b/ipfs-api/examples/mfs.rs index 3d6419c..85dd0f7 100644 --- a/ipfs-api/examples/mfs.rs +++ b/ipfs-api/examples/mfs.rs @@ -20,8 +20,8 @@ fn print_stat(stat: response::FilesStatResponse) { // Creates an Ipfs client, and makes some calls to the Mfs Api. // -#[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..."); |