rs-ipfs / rust-ipfs

The InterPlanetary File System (IPFS), implemented in Rust.
Apache License 2.0
1.27k stars 165 forks source link

Latest crates.io package dependency graph is broken #491

Open cdata opened 2 years ago

cdata commented 2 years ago

Describe the bug TL;DR the latest published ipfs package on crates.io is broken/unusable.

The latest published ipfs crate on crates.io has aesni in its dependency graph (via a dependency on an old version of libp2p). aesni is a deprecated package, superseded by aes, and the version that libp2p formerly depended on is yanked. So, it's not possible to use the most recently published ipfs crate as a dependency.

To Reproduce

  1. Add ipfs = "0.2.1" as a dependency in Cargo.toml
  2. Run cargo check

Expected behavior Cargo should be able to fetch the dependency and build it.

Environment (please complete the following information)

stable-x86_64-unknown-linux-gnu (default) rustc 1.57.0 (f1edd0429 2021-11-29)

koivunej commented 2 years ago

Thanks for reporting this. I think this is applicable to the #477, so I could get automatic emails on the issue.