sigp / discv5

Rust implementation of Discovery v5
Apache License 2.0
163 stars 65 forks source link

chore: slim deps #255

Closed onbjerg closed 5 months ago

onbjerg commented 5 months ago

Description

Replaces libp2p with libp2p-identity and multiaddr which significantly lowers the amount of dependencies pulled in by the crate. Closes #253

This PR also re-exports those two crates as they are needed to use some of the features introduced by the libp2p feature, so users end up adding the dependency in their tree manually on top. Closes #254

Notes & open questions

Both changes are in their own commits, so I can split it off into two PRs if needed

Change checklist