1
0
mirror of synced 2025-01-27 07:55:17 +00:00
Giacomo Pasini f21f1ea10a
Small additions to libp2p (#278)
* Add initial peer config to nomos-libp2p

* Use custom message id to avoid duplicates

* Expose reference to the inner swarm

* move closure into function
2023-08-01 03:26:42 +02:00

31 lines
587 B
TOML

[package]
name = "nomos-libp2p"
version = "0.1.0"
edition = "2021"
[dependencies]
multiaddr = "0.18"
tokio = { version = "1", features = ["sync", "macros"] }
futures = "0.3"
libp2p = { version = "0.52.1", features = [
"yamux",
"plaintext",
"macros",
"gossipsub",
"identify",
"tcp",
"tokio",
"secp256k1",
] }
blake2 = { version = "0.10" }
serde = { version = "1.0.166", features = ["derive"] }
hex = "0.4.3"
log = "0.4.19"
thiserror = "1.0.40"
tracing = "0.1"
[dev-dependencies]
env_logger = "0.10.0"
serde_json = "1.0.99"
tokio = { version = "1", features = ["time"] }