mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-13 11:21:21 +00:00
58 lines
1.7 KiB
TOML
58 lines
1.7 KiB
TOML
[package]
|
|
name = "libp2p-gossipsub"
|
|
edition = "2021"
|
|
rust-version = "1.62.0"
|
|
description = "Gossipsub protocol for libp2p"
|
|
version = "0.44.0"
|
|
authors = ["Age Manning <Age@AgeManning.com>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
keywords = ["peer-to-peer", "libp2p", "networking"]
|
|
categories = ["network-programming", "asynchronous"]
|
|
|
|
[dependencies]
|
|
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
|
|
libp2p-core = { version = "0.39.0", path = "../../core" }
|
|
bytes = "1.4"
|
|
byteorder = "1.3.4"
|
|
fnv = "1.0.7"
|
|
futures = "0.3.26"
|
|
rand = "0.8"
|
|
asynchronous-codec = "0.6"
|
|
unsigned-varint = { version = "0.7.0", features = ["asynchronous_codec"] }
|
|
log = "0.4.11"
|
|
sha2 = "0.10.0"
|
|
base64 = "0.20.0"
|
|
smallvec = "1.6.1"
|
|
prost = "0.11"
|
|
prost-codec = { version = "0.3", path = "../../misc/prost-codec" }
|
|
hex_fmt = "0.3.0"
|
|
regex = "1.5.5"
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
|
thiserror = "1.0"
|
|
wasm-timer = "0.2.5"
|
|
instant = "0.1.11"
|
|
# Metrics dependencies
|
|
prometheus-client = "0.19.0"
|
|
|
|
[dev-dependencies]
|
|
async-std = "1.6.3"
|
|
env_logger = "0.10.0"
|
|
hex = "0.4.2"
|
|
libp2p-mplex = { path = "../../muxers/mplex" }
|
|
libp2p-noise = { path = "../../transports/noise" }
|
|
libp2p-plaintext = { path = "../../transports/plaintext" }
|
|
libp2p-swarm = { path = "../../swarm" }
|
|
libp2p-yamux = { path = "../../muxers/yamux" }
|
|
quickcheck = { package = "quickcheck-ext", path = "../../misc/quickcheck-ext" }
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.11"
|
|
|
|
# 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"]
|