hugues31/coinnect

Docs on docs.rs do not work anymore

hugues31 opened this issue · 9 comments

Build log says :

error[E0460]: found possibly newer version of crate `idna` which `hyper` depends on
  --> .cargo/registry/src/github.com-1ecc6299db9ec823/coinnect-0.5.3/src/lib.rs:33:1
   |
33 | extern crate hyper;
   | ^^^^^^^^^^^^^^^^^^^
   |
   = note: perhaps that crate needs to be recompiled?
   = note: crate `idna` path #1: /home/cratesfyi/cratesfyi/debug/deps/libidna-e17fe1ecab30d084.rlib
   = note: crate `idna` path #2: /home/cratesfyi/cratesfyi/debug/deps/libidna-61e19868261f71ed.rlib
   = note: crate `hyper` path #1: /home/cratesfyi/cratesfyi/debug/deps/libhyper-103a835b55757827.rlib

error: aborting due to previous error

And I have no idea on how to solve that

Try removing the build, debug dirs

yes but it happens on the docs.rs website, not on my local machine, so i don't have access to this folder

I believe this is docs.rs issue then.

#50 does not seem to refresh the docs.rs cache :/ I don't know what to do to fix it

I was trying to install cargo-tree or cargo-graph to identify the package that requires conflicting version of idna but build fails on my windows.

Maybe you should try updating to latest hyper?

It's a breaking change since 0.11 version brings the async feature so this is not trivial. I was considering replacing Hyper by Reqwest. By doing this, we can try to make an async version around Futures more easily. What do you think?

I was not aware reqwest released with async API. This is probably a good idea then, if it simpler to use.

Solved, I close!