[dependencies.async-trait]
version = "0.1"
[dependencies.cbor4ii]
features = ["serde1", "use_std"]
optional = true
version = "0.3.2"
[dependencies.futures]
version = "0.3.30"
[dependencies.futures-bounded]
version = "0.2.3"
[dependencies.futures-timer]
version = "3.0.3"
[dependencies.instant]
version = "0.1.13"
[dependencies.libp2p-core]
version = "0.41.2"
[dependencies.libp2p-identity]
version = "0.2.8"
[dependencies.libp2p-swarm]
version = "0.44.2"
[dependencies.rand]
version = "0.8"
[dependencies.serde]
optional = true
version = "1.0"
[dependencies.serde_json]
optional = true
version = "1.0.117"
[dependencies.smallvec]
version = "1.13.2"
[dependencies.tracing]
version = "0.1.37"
[dependencies.void]
version = "1.0.2"
[dev-dependencies.anyhow]
version = "1.0.86"
[dev-dependencies.async-std]
features = ["attributes"]
version = "1.6.2"
[dev-dependencies.futures_ringbuf]
version = "0.4.0"
[dev-dependencies.libp2p-noise]
version = "0.44.0"
[dev-dependencies.libp2p-tcp]
features = ["async-io"]
version = "0.41.0"
[dev-dependencies.libp2p-yamux]
version = "0.45.1"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[features]
cbor = ["dep:serde", "dep:cbor4ii", "libp2p-swarm/macros"]
json = ["dep:serde", "dep:serde_json", "libp2p-swarm/macros"]
[lints.clippy]
dbg_macro = "warn"
manual_let_else = "warn"
pedantic = "allow"
type_complexity = "allow"
unnecessary_wraps = "warn"
used_underscore_binding = "warn"
[lints.rust]
unreachable_pub = "warn"
[package]
authors = ["Parity Technologies <admin@parity.io>"]
categories = ["network-programming", "asynchronous"]
description = "Generic Request/Response Protocols"
edition = "2021"
keywords = ["peer-to-peer", "libp2p", "networking"]
license = "MIT"
name = "libp2p-request-response"
repository = "https://github.com/libp2p/rust-libp2p"
rust-version = "1.75.0"
version = "0.26.3"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]