[package]
name = "fuel-core-p2p"
version = { workspace = true }
authors = { workspace = true }
categories = ["cryptography::cryptocurrencies", "network-programming"]
edition = { workspace = true }
homepage = { workspace = true }
keywords = ["blockchain", "cryptocurrencies", "fuel-core-p2p", "networking"]
license = { workspace = true }
repository = { workspace = true }
description = "Fuel client networking"
[dependencies]
anyhow = { workspace = true }
async-trait = { workspace = true }
fuel-core-chain-config = { workspace = true }
fuel-core-metrics = { workspace = true }
fuel-core-services = { workspace = true }
fuel-core-storage = { workspace = true }
fuel-core-types = { workspace = true, features = [
"serde",
] }
futures = { workspace = true }
ip_network = "0.4"
libp2p = { version = "=0.50.0", default-features = false, features = [
"dns",
"gossipsub",
"identify",
"kad",
"macros",
"mdns",
"mplex",
"noise",
"request-response",
"secp256k1",
"tcp",
"tokio",
"yamux",
"websocket",
] }
libp2p-core = "=0.38.0"
libp2p-dns = "=0.38.0"
libp2p-gossipsub = "=0.43.0"
libp2p-identify = "=0.41.0"
libp2p-kad = "=0.42.0"
libp2p-mdns = "=0.42.0"
libp2p-mplex = "=0.38.0"
libp2p-noise = "=0.41.0"
libp2p-prom-client = { workspace = true }
libp2p-request-response = "=0.23.0"
libp2p-swarm = "=0.41.1"
libp2p-tcp = "=0.38.0"
libp2p-websocket = "=0.40.0"
libp2p-yamux = "=0.42.0"
postcard = { workspace = true, features = ["use-std"] }
prometheus-client = { workspace = true }
rand = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_with = "1.11"
sha2 = "0.10"
tokio = { workspace = true, features = ["sync"] }
tracing = { workspace = true }
[dev-dependencies]
ctor = "0.1"
fuel-core-trace = { path = "../../trace" }
fuel-core-types = { path = "../../types", features = [
"serde",
"test-helpers"
] }
rand = { workspace = true }
tokio = { workspace = true, features = ["full"] }
tracing-attributes = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
[features]
test-helpers = ["fuel-core-types/test-helpers"]