You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The driver no longer downloads and compiles when added as a dependency starting today. A crate version that is pinned for hmac@0.7.1 is a very old version, which itself has a dependency to a crate that no longer exists. When adding to a project, this is the result.
Execution failed (exit code 101).
/home/dallin/.cargo/bin/cargo metadata --verbose --format-version 1 --all-features
stdout : Updating crates.io index
error: failed to select a version for the requirement `crypto-mac = "^0.7"`
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package `hmac v0.7.1`
... which is depended on by `mongodb v1.2.2`
Here is the screenshot of crypto-hmac@v0.7
I will add for whomever comes after me looking, switching to the latest beta release, for me mongodb = "2.0.0-beta.3", solves the issue as the versions are upgraded for these specific things.
The text was updated successfully, but these errors were encountered:
Meet the same problem. And seems that the 2.0.0 version is incompatible with the current 1.2.2 version, so some code has to be changed in order to pass compilation.
Thank you for reporting this! We've just released v1.2.3 of the driver, which should fix this issue. As @KernelErr mentions, you can also updated to the latest 2.0 beta as well, though that will involve some breaking changes.
The driver no longer downloads and compiles when added as a dependency starting today. A crate version that is pinned for hmac@0.7.1 is a very old version, which itself has a dependency to a crate that no longer exists. When adding to a project, this is the result.
Here is the screenshot of crypto-hmac@v0.7
I will add for whomever comes after me looking, switching to the latest beta release, for me
mongodb = "2.0.0-beta.3"
, solves the issue as the versions are upgraded for these specific things.The text was updated successfully, but these errors were encountered: