2020-06-29 17:08:40 +02:00
|
|
|
[package]
|
|
|
|
name = "libp2p-request-response"
|
2021-11-26 09:34:58 -07:00
|
|
|
edition = "2021"
|
2023-05-02 11:14:14 +02:00
|
|
|
rust-version = { workspace = true }
|
2020-06-29 17:08:40 +02:00
|
|
|
description = "Generic Request/Response Protocols"
|
2023-05-02 11:14:14 +02:00
|
|
|
version = "0.25.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"
|
2023-04-03 14:43:42 +00:00
|
|
|
futures = "0.3.28"
|
2021-10-30 12:41:30 +02:00
|
|
|
instant = "0.1.11"
|
2023-05-02 11:14:14 +02:00
|
|
|
libp2p-core = { workspace = true }
|
|
|
|
libp2p-swarm = { workspace = true }
|
|
|
|
libp2p-identity = { workspace = true }
|
2022-09-22 12:48:32 +04:00
|
|
|
rand = "0.8"
|
2021-03-15 12:31:21 +01:00
|
|
|
smallvec = "1.6.1"
|
2020-06-29 17:08:40 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-03-08 20:36:35 +11:00
|
|
|
async-std = { version = "1.6.2", features = ["attributes"] }
|
2022-12-02 18:06:09 +01:00
|
|
|
env_logger = "0.10.0"
|
2023-05-02 11:14:14 +02:00
|
|
|
libp2p-noise = { workspace = true }
|
|
|
|
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
|
|
|
libp2p-yamux = { workspace = true }
|
2022-09-22 12:48:32 +04:00
|
|
|
rand = "0.8"
|
2023-05-02 11:14:14 +02:00
|
|
|
libp2p-swarm-test = { workspace = true }
|
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"]
|