mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-13 11:21:21 +00:00
51 lines
1.6 KiB
TOML
51 lines
1.6 KiB
TOML
[package]
|
|
name = "libp2p-dcutr"
|
|
edition = "2021"
|
|
rust-version = "1.62.0"
|
|
description = "Direct connection upgrade through relay"
|
|
version = "0.9.0"
|
|
authors = ["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.26"
|
|
futures-timer = "3.0"
|
|
instant = "0.1.11"
|
|
libp2p-core = { version = "0.39.0", path = "../../core" }
|
|
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
|
|
log = "0.4"
|
|
prost-codec = { version = "0.3", path = "../../misc/prost-codec" }
|
|
prost = "0.11"
|
|
thiserror = "1.0"
|
|
void = "1"
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.11"
|
|
|
|
[dev-dependencies]
|
|
clap = { version = "4.0.13", features = ["derive"] }
|
|
env_logger = "0.10.0"
|
|
libp2p-dns = { path = "../../transports/dns", features = ["async-std"] }
|
|
libp2p-identify = { path = "../../protocols/identify" }
|
|
libp2p-noise = { path = "../../transports/noise" }
|
|
libp2p-ping = { path = "../../protocols/ping" }
|
|
libp2p-plaintext = { path = "../../transports/plaintext" }
|
|
libp2p-relay = { path = "../relay" }
|
|
libp2p-swarm = { path = "../../swarm", features = ["macros"] }
|
|
libp2p-tcp = { path = "../../transports/tcp", features = ["async-io"] }
|
|
libp2p-yamux = { path = "../../muxers/yamux" }
|
|
rand = "0.8"
|
|
|
|
# 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"]
|