mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
Anchor currently depends on `lighthouse_network` for a few types and utilities that live within. As we use our own libp2p behaviours, we actually do not use the core logic in that crate. This makes us transitively depend on a bunch of unneeded crates (even a whole separate libp2p if the versions mismatch!) Move things we require into it's own lightweight crate. Co-Authored-By: Daniel Knopik <daniel@dknopik.de>
18 lines
403 B
TOML
18 lines
403 B
TOML
[package]
|
|
name = "network_utils"
|
|
version = "0.1.0"
|
|
edition = { workspace = true }
|
|
|
|
[dependencies]
|
|
discv5 = { workspace = true }
|
|
libp2p-identity = "0.2"
|
|
lru_cache = { workspace = true }
|
|
metrics = { workspace = true }
|
|
multiaddr = "0.18.2"
|
|
parking_lot = { workspace = true }
|
|
serde = { workspace = true }
|
|
tiny-keccak = { version = "2", features = ["keccak"] }
|
|
|
|
[dev-dependencies]
|
|
hex = { workspace = true }
|