mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-29 02:31:20 +00:00
54 lines
1.5 KiB
TOML
54 lines
1.5 KiB
TOML
[package]
|
|
name = "libp2p-kad"
|
|
edition = "2021"
|
|
rust-version = "1.65.0"
|
|
description = "Kademlia protocol for libp2p"
|
|
version = "0.43.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/libp2p/rust-libp2p"
|
|
keywords = ["peer-to-peer", "libp2p", "networking"]
|
|
categories = ["network-programming", "asynchronous"]
|
|
|
|
[dependencies]
|
|
arrayvec = "0.7.2"
|
|
bytes = "1"
|
|
either = "1.5"
|
|
fnv = "1.0"
|
|
asynchronous-codec = "0.6"
|
|
futures = "0.3.26"
|
|
log = "0.4"
|
|
libp2p-core = { version = "0.39.0", path = "../../core" }
|
|
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
|
|
prost = "0.11"
|
|
rand = "0.8"
|
|
sha2 = "0.10.0"
|
|
smallvec = "1.6.1"
|
|
uint = "0.9"
|
|
unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] }
|
|
void = "1.0"
|
|
futures-timer = "3.0.2"
|
|
instant = "0.1.11"
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
|
thiserror = "1"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.10.0"
|
|
futures-timer = "3.0"
|
|
libp2p-noise = { path = "../../transports/noise" }
|
|
libp2p-yamux = { path = "../../muxers/yamux" }
|
|
quickcheck = { package = "quickcheck-ext", path = "../../misc/quickcheck-ext" }
|
|
|
|
[build-dependencies]
|
|
prost-build = "0.11"
|
|
|
|
[features]
|
|
serde = ["dep:serde", "bytes/serde"]
|
|
|
|
# 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"]
|