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/get_version.rs | |
parent | c465720a494312aea93aa87e16ff6baf25ef2e11 (diff) |
Reorganize features
Diffstat (limited to 'ipfs-api/examples/get_version.rs')
-rw-r--r-- | ipfs-api/examples/get_version.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/examples/get_version.rs b/ipfs-api/examples/get_version.rs index 9d22988..bc91f50 100644 --- a/ipfs-api/examples/get_version.rs +++ b/ipfs-api/examples/get_version.rs @@ -10,8 +10,8 @@ use ipfs_api::IpfsClient; // Creates an Ipfs client, and gets the version of the Ipfs server. // -#[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..."); |