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

Commit 6f23f71

Browse files
committed
Fixing build issue described in: libp2p/rust-libp2p#2231
When including rust-ipfs as a dependency in any crate, it fails with the following 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 is depended on by `aes-gcm v0.6.0` ... which is depended on by `snow v0.7.1` ... which is depended on by `libp2p-noise v0.30.0 (/home/alexander/dev/misc/rust-libp2p/transports/noise)` ... which is depended on by `libp2p v0.37.1 (/home/alexander/dev/misc/rust-libp2p)` ... which is depended on by `libp2p-relay v0.2.0 (/home/alexander/dev/misc/rust-libp2p/protocols/relay)` ``` This fix updates the libp2p version into one that has a fix for this dependency and now it compiles fine
1 parent 111f116 commit 6f23f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ either = { default-features = false, version = "1.5" }
3131
futures = { default-features = false, version = "0.3.9", features = ["alloc", "std"] }
3232
hash_hasher = "2.0.3"
3333
ipfs-unixfs = { version = "0.2", path = "unixfs" }
34-
libp2p = { default-features = false, features = ["floodsub", "identify", "kad", "tcp-tokio", "mplex", "noise", "ping", "yamux", "dns-tokio"], version = "0.39" }
34+
libp2p = { default-features = false, features = ["floodsub", "identify", "kad", "tcp-tokio", "mplex", "noise", "ping", "yamux", "dns-tokio"], version = "0.39.1" }
3535
multibase = { default-features = false, version = "0.9" }
3636
multihash = { default-features = false, version = "0.11" }
3737
prost = { default-features = false, version = "0.8" }

0 commit comments

Comments
 (0)