hugues31 / coinnect

Coinnect is a Rust library aiming to provide a complete access to main crypto currencies exchanges via REST API.
MIT License
147 stars 43 forks source link

Docs on docs.rs do not work anymore #49

Closed hugues31 closed 7 years ago

hugues31 commented 7 years ago

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

crackcomm commented 7 years ago

Try removing the build, debug dirs

hugues31 commented 7 years ago

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

crackcomm commented 7 years ago

I believe this is docs.rs issue then.

hugues31 commented 7 years ago

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

crackcomm commented 7 years ago

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.

crackcomm commented 7 years ago

Maybe you should try updating to latest hyper?

hugues31 commented 7 years ago

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?

crackcomm commented 7 years ago

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

hugues31 commented 7 years ago

Solved, I close!