Closed jrouaix closed 2 years ago
Well, it seems I just had to write IpfsClient::<HttpConnector<GaiResolver>>::default();
with use hyper::client::{connect::dns::GaiResolver, HttpConnector};
And add the hyper = "0.14"
in the toml and it's compiling just fine.
But I still wondering why all your examples are working without all this.
Hello, I tried my best to use the crate as shown in the examples, but I struggle on an error : type inside
async
block must be known in this contextdo you have any idea about what's going on ?