ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
247 stars 68 forks source link

Update awc to 2.0.0 #51

Closed matthiasbeyer closed 3 years ago

matthiasbeyer commented 4 years ago

I am facing an issue where a type in awc cannot be send between threads:

std::rc::Rc<awc::ClientConfig>` cannot be sent between threads safely
 = help: within `ipfs_api::IpfsClient`, the trait `std::marker::Send` is not implemented for `std::rc::Rc<awc::ClientConfig>

I guess this might be fixed when updating awc to 2.0.0... but I am not sure. Maybe the issue is something entirely different here and I'm just not getting the actual problem.