2020-06-29 17:08:40 +02:00
|
|
|
[package]
|
|
|
|
name = "libp2p-request-response"
|
2021-11-26 09:34:58 -07:00
|
|
|
edition = "2021"
|
2022-11-18 22:04:16 +11:00
|
|
|
rust-version = "1.62.0"
|
2020-06-29 17:08:40 +02:00
|
|
|
description = "Generic Request/Response Protocols"
|
2022-12-12 12:30:23 +01:00
|
|
|
version = "0.24.0"
|
2020-06-29 17:08:40 +02:00
|
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
|
|
keywords = ["peer-to-peer", "libp2p", "networking"]
|
|
|
|
categories = ["network-programming", "asynchronous"]
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
async-trait = "0.1"
|
2021-01-12 12:48:37 +01:00
|
|
|
bytes = "1"
|
2023-01-31 23:34:17 +00:00
|
|
|
futures = "0.3.26"
|
2021-10-30 12:41:30 +02:00
|
|
|
instant = "0.1.11"
|
2022-12-20 09:52:08 +01:00
|
|
|
libp2p-core = { version = "0.39.0", path = "../../core" }
|
2022-12-09 15:44:08 +01:00
|
|
|
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
|
2020-08-12 16:04:54 +02:00
|
|
|
log = "0.4.11"
|
2022-09-22 12:48:32 +04:00
|
|
|
rand = "0.8"
|
2021-03-15 12:31:21 +01:00
|
|
|
smallvec = "1.6.1"
|
2021-02-13 20:15:14 +01:00
|
|
|
unsigned-varint = { version = "0.7", features = ["std", "futures"] }
|
2020-06-29 17:08:40 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
async-std = "1.6.2"
|
2022-12-02 18:06:09 +01:00
|
|
|
env_logger = "0.10.0"
|
2022-12-13 07:58:01 +11:00
|
|
|
libp2p-noise = { path = "../../transports/noise" }
|
|
|
|
libp2p-tcp = { path = "../../transports/tcp", features = ["async-io"] }
|
|
|
|
libp2p-yamux = { path = "../../muxers/yamux" }
|
2022-09-22 12:48:32 +04:00
|
|
|
rand = "0.8"
|
2022-10-24 04:00:20 +02:00
|
|
|
|
2022-12-09 15:44:08 +01:00
|
|
|
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
2022-10-24 04:00:20 +02:00
|
|
|
# More information: https://docs.rs/about/builds#cross-compiling
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
rustc-args = ["--cfg", "docsrs"]
|