Closed ruseinov closed 4 years ago
Currently impossible to pass as "web::Data" in actix for reusability.
And also not possible to use in any async function either.
The problem is that the IpfsClient is using std::rc::Rc, I'm wondering why not Arc.
std::rc::Rc
Arc
Case closed, looks like using hyper should resolve this issue.
hyper
Currently impossible to pass as "web::Data" in actix for reusability.
And also not possible to use in any async function either.
The problem is that the IpfsClient is using
std::rc::Rc
, I'm wondering why notArc
.