diff options
author | Julius Michaelis <gitter@liftm.de> | 2021-01-19 00:30:38 +0900 |
---|---|---|
committer | Julius Michaelis <gitter@liftm.de> | 2021-01-19 00:31:44 +0900 |
commit | d53e6d335c3cfde51f6ceebd2da5306f5ed86ce8 (patch) | |
tree | c1a094f6fb6a0204ab22b286087832d4ffabada6 /ipfs-api/examples/mfs.rs | |
parent | c465720a494312aea93aa87e16ff6baf25ef2e11 (diff) |
Reorganize features
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..."); |