diff options
Diffstat (limited to 'ipfs-api/examples/dag.rs')
-rw-r--r-- | ipfs-api/examples/dag.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/examples/dag.rs b/ipfs-api/examples/dag.rs index 9dff2bb..20d7bef 100644 --- a/ipfs-api/examples/dag.rs +++ b/ipfs-api/examples/dag.rs @@ -12,8 +12,8 @@ use std::io::Cursor; // Creates an Ipfs client, and adds this dag object to Ipfs then fetch it back. // -#[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..."); |