2019-07-04 14:47:59 +02:00
|
|
|
[package]
|
|
|
|
name = "libp2p-swarm"
|
2021-11-26 09:34:58 -07:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56.1"
|
2019-07-04 14:47:59 +02:00
|
|
|
description = "The libp2p swarm"
|
2022-11-02 23:02:21 +11:00
|
|
|
version = "0.41.0"
|
2019-07-04 14:47:59 +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]
|
2020-08-23 16:57:20 +02:00
|
|
|
either = "1.6.0"
|
2022-02-13 21:57:38 +01:00
|
|
|
fnv = "1.0"
|
2019-11-14 13:42:14 +01:00
|
|
|
futures = "0.3.1"
|
2022-02-13 21:57:38 +01:00
|
|
|
futures-timer = "3.0.2"
|
|
|
|
instant = "0.1.11"
|
2022-11-02 23:02:21 +11:00
|
|
|
libp2p-core = { version = "0.38.0", path = "../core" }
|
2022-11-13 10:59:14 +11:00
|
|
|
libp2p-swarm-derive = { version = "0.30.2", path = "../swarm-derive", optional = true }
|
2020-01-16 13:17:39 +01:00
|
|
|
log = "0.4"
|
2022-02-13 21:57:38 +01:00
|
|
|
pin-project = "1.0.0"
|
2022-09-22 12:48:32 +04:00
|
|
|
rand = "0.8"
|
2021-03-15 12:31:21 +01:00
|
|
|
smallvec = "1.6.1"
|
2022-02-13 21:57:38 +01:00
|
|
|
thiserror = "1.0"
|
2019-07-04 14:47:59 +02:00
|
|
|
void = "1"
|
|
|
|
|
2022-11-13 10:59:14 +11:00
|
|
|
[features]
|
|
|
|
macros = ["dep:libp2p-swarm-derive"]
|
|
|
|
|
2019-07-04 14:47:59 +02:00
|
|
|
[dev-dependencies]
|
2022-02-13 21:57:38 +01:00
|
|
|
async-std = { version = "1.6.2", features = ["attributes"] }
|
2022-11-13 10:59:14 +11:00
|
|
|
either = "1.6.0"
|
2022-02-15 10:19:55 +01:00
|
|
|
env_logger = "0.9"
|
2022-11-13 10:59:14 +11:00
|
|
|
futures = "0.3.1"
|
|
|
|
libp2p-identify = { path = "../protocols/identify" }
|
|
|
|
libp2p-kad = { path = "../protocols/kad" }
|
|
|
|
libp2p-ping = { path = "../protocols/ping" }
|
|
|
|
libp2p-plaintext = { path = "../transports/plaintext" }
|
|
|
|
libp2p-swarm-derive = { version = "0.30.2", path = "../swarm-derive" }
|
|
|
|
libp2p-yamux = { path = "../muxers/yamux" }
|
2022-09-22 12:48:32 +04:00
|
|
|
quickcheck = { package = "quickcheck-ext", path = "../misc/quickcheck-ext" }
|
2022-11-13 10:59:14 +11:00
|
|
|
void = "1"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "swarm_derive"
|
|
|
|
required-features = ["macros"]
|
2022-10-24 04:00:20 +02:00
|
|
|
|
2022-11-13 10:59:14 +11: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"]
|