Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

broken aesni dependency when used as library #505

Open
OHNONOTAMOTH opened this issue May 13, 2022 · 0 comments
Open

broken aesni dependency when used as library #505

OHNONOTAMOTH opened this issue May 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@OHNONOTAMOTH
Copy link

when compiling a project that uses ipfs as a dep it gives this error

error: failed to select a version for the requirement `aesni = "^0.7"`
candidate versions found which didn't match: 0.99.99, 0.10.0, 0.9.0, ...
location searched: crates.io index
required by package `aes v0.4.0`
    ... which satisfies dependency `aes = "^0.4"` of package `aes-gcm v0.6.0`
    ... which satisfies dependency `aes-gcm = "^0.6"` of package `snow v0.7.1`
    ... which satisfies dependency `snow = "^0.7.1"` of package `libp2p-noise v0.24.0`
    ... which satisfies dependency `libp2p-noise = "^0.24.0"` of package `libp2p v0.28.0`
    ... which satisfies dependency `libp2p = "^0.28"` of package `ipfs v0.2.1`
    ... which satisfies dependency `ipfs = "^0.2.1"` of package `mpv-ipfs v0.1.0 (/home/moth/mpv-ipfs)`

To Reproduce

  1. create new cargo project
  2. add ipfs = "0.2.1" to cargo.toml
  3. run cargo build

Expected behavior
no errors compiling dependencies

Environment

  • Operating system, kernel version where applicable: Gentoo Linux
  • Rust version: rustc 1.60.0

Additional context
It only breaks when it is compiled as a dependency used by another project and when you compile the library by itself it works fine.

@OHNONOTAMOTH OHNONOTAMOTH added the bug Something isn't working label May 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant