mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-27 17:51:20 +00:00
With the current design, a major version bump of `prost` leaks into all consumers of `prost-codec`.
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "libp2p-relay"
|
|
edition = "2021"
|
|
rust-version = "1.56.1"
|
|
description = "Communications relaying for libp2p"
|
|
version = "0.14.0"
|
|
authors = ["Parity Technologies <admin@parity.io>", "Max Inden <mail@max-inden.de>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
keywords = ["peer-to-peer", "libp2p", "networking"]
|
|
categories = ["network-programming", "asynchronous"]
|
|
|
|
[dependencies]
|
|
asynchronous-codec = "0.6"
|
|
bytes = "1"
|
|
either = "1.6.0"
|
|
futures = "0.3.1"
|
|
futures-timer = "3"
|
|
instant = "0.1.11"
|
|
libp2p-core = { version = "0.38.0", path = "../../core" }
|
|
libp2p-swarm = { version = "0.41.0", path = "../../swarm" }
|
|
log = "0.4"
|
|
pin-project = "1"
|
|
prost-codec = { version = "0.3", path = "../../misc/prost-codec" }
|
|
prost = "0.11"
|
|
rand = "0.8.4"
|
|
smallvec = "1.6.1"
|
|
static_assertions = "1"
|
|
thiserror = "1.0"
|
|
void = "1"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.11"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.9.0"
|
|
libp2p = { path = "../..", features = ["full"] }
|
|
quickcheck = { package = "quickcheck-ext", path = "../../misc/quickcheck-ext" }
|
|
clap = { version = "4.0.13", features = ["derive"] }
|
|
|
|
# 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"]
|