mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-01 20:21:21 +00:00
With the current design, a major version bump of `prost` leaks into all consumers of `prost-codec`.
46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
[package]
|
|
name = "libp2p-rendezvous"
|
|
edition = "2021"
|
|
rust-version = "1.56.1"
|
|
description = "Rendezvous protocol for libp2p"
|
|
version = "0.11.0"
|
|
authors = ["The COMIT guys <hello@comit.network>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
keywords = ["peer-to-peer", "libp2p", "networking"]
|
|
categories = ["network-programming", "asynchronous"]
|
|
|
|
[dependencies]
|
|
asynchronous-codec = "0.6"
|
|
bimap = "0.6.1"
|
|
futures = { version = "0.3", default-features = false, features = ["std"] }
|
|
futures-timer = "3.0.2"
|
|
instant = "0.1.11"
|
|
libp2p-core = { version = "0.38.0", path = "../../core" }
|
|
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
|
|
log = "0.4"
|
|
prost = "0.11"
|
|
prost-codec = { version = "0.3.0", path = "../../misc/prost-codec" }
|
|
rand = "0.8"
|
|
sha2 = "0.10"
|
|
thiserror = "1"
|
|
unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] }
|
|
void = "1"
|
|
|
|
[dev-dependencies]
|
|
async-trait = "0.1"
|
|
env_logger = "0.9.0"
|
|
libp2p = { path = "../..", features = ["full"] }
|
|
rand = "0.8"
|
|
tokio = { version = "1.15", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] }
|
|
|
|
[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"]
|