From d53e6d335c3cfde51f6ceebd2da5306f5ed86ce8 Mon Sep 17 00:00:00 2001 From: Julius Michaelis Date: Tue, 19 Jan 2021 00:30:38 +0900 Subject: Reorganize features --- ipfs-api/examples/get_version.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipfs-api/examples/get_version.rs') 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..."); -- cgit v1.2.3