1 2 3 4 5
#[cfg(not(test))] pub type IpfsClient = ipfs::Ipfs<ipfs::Types>; #[cfg(test)] pub type IpfsClient = ipfs::Ipfs<ipfs::TestTypes>;