2020-01-25 02:16:02 +11:00
|
|
|
[package]
|
|
|
|
name = "libp2p-gossipsub"
|
2021-11-26 09:34:58 -07:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56.1"
|
2020-01-24 17:57:54 +01:00
|
|
|
description = "Gossipsub protocol for libp2p"
|
2022-11-02 23:02:21 +11:00
|
|
|
version = "0.43.0"
|
2020-01-25 02:16:02 +11:00
|
|
|
authors = ["Age Manning <Age@AgeManning.com>"]
|
|
|
|
license = "MIT"
|
2020-01-24 17:57:54 +01:00
|
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
|
|
keywords = ["peer-to-peer", "libp2p", "networking"]
|
|
|
|
categories = ["network-programming", "asynchronous"]
|
2020-01-25 02:16:02 +11:00
|
|
|
|
|
|
|
[dependencies]
|
2022-11-02 23:02:21 +11:00
|
|
|
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
|
|
|
|
libp2p-core = { version = "0.38.0", path = "../../core" }
|
2021-01-12 12:48:37 +01:00
|
|
|
bytes = "1.0"
|
2021-01-07 18:19:31 +11:00
|
|
|
byteorder = "1.3.4"
|
|
|
|
fnv = "1.0.7"
|
|
|
|
futures = "0.3.5"
|
2022-09-22 12:48:32 +04:00
|
|
|
rand = "0.8"
|
2021-02-13 20:15:14 +01:00
|
|
|
asynchronous-codec = "0.6"
|
|
|
|
unsigned-varint = { version = "0.7.0", features = ["asynchronous_codec"] }
|
2021-01-07 18:19:31 +11:00
|
|
|
log = "0.4.11"
|
2021-12-08 15:07:29 +01:00
|
|
|
sha2 = "0.10.0"
|
2020-10-05 10:12:40 +02:00
|
|
|
base64 = "0.13.0"
|
2021-03-15 12:31:21 +01:00
|
|
|
smallvec = "1.6.1"
|
2022-08-16 08:49:09 +02:00
|
|
|
prost = "0.11"
|
2020-07-29 09:25:53 +02:00
|
|
|
hex_fmt = "0.3.0"
|
2022-03-18 17:13:27 +01:00
|
|
|
regex = "1.5.5"
|
2022-01-11 15:38:51 -05:00
|
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
2022-02-14 21:24:58 +11:00
|
|
|
wasm-timer = "0.2.5"
|
|
|
|
instant = "0.1.11"
|
2021-11-16 08:59:39 -05:00
|
|
|
# Metrics dependencies
|
2022-08-17 07:02:21 +02:00
|
|
|
prometheus-client = "0.18.0"
|
2020-01-25 02:16:02 +11:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-01-07 18:19:31 +11:00
|
|
|
async-std = "1.6.3"
|
2021-07-15 10:43:04 +02:00
|
|
|
env_logger = "0.9.0"
|
2022-09-30 01:32:22 +10:00
|
|
|
libp2p = { path = "../..", features = ["full"] }
|
2022-09-22 12:48:32 +04:00
|
|
|
quickcheck = { package = "quickcheck-ext", path = "../../misc/quickcheck-ext" }
|
2020-08-03 18:13:43 +10:00
|
|
|
hex = "0.4.2"
|
2022-03-18 15:46:33 +01:00
|
|
|
derive_builder = "0.11.1"
|
2020-01-25 02:16:02 +11:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-08-16 08:49:09 +02:00
|
|
|
prost-build = "0.11"
|
2022-10-24 04:00:20 +02:00
|
|
|
|
|
|
|
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
|
|
|
# More information: https://docs.rs/about/builds#cross-compiling
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
rustc-args = ["--cfg", "docsrs"]
|