discv5 0.11.0

Implementation of the p2p discv5 discovery protocol
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "discv5"
version = "0.11.0"
authors = ["Sigma Prime <contact@sigmaprime.io>"]
build = false
exclude = [
    ".gitignore",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Implementation of the p2p discv5 discovery protocol"
readme = "README.md"
keywords = [
    "peer-to-peer",
    "libp2p",
    "networking",
    "discovery",
    "discv5",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/sigp/discv5"

[features]
libp2p = [
    "dep:libp2p-identity",
    "dep:multiaddr",
]
serde = ["enr/serde"]

[lib]
name = "discv5"
path = "src/lib.rs"

[[example]]
name = "custom_executor"
path = "examples/custom_executor.rs"

[[example]]
name = "find_nodes"
path = "examples/find_nodes.rs"

[[example]]
name = "request_enr"
path = "examples/request_enr.rs"

[[example]]
name = "simple_server"
path = "examples/simple_server.rs"

[dependencies.aes]
version = "0.8"

[dependencies.aes-gcm]
version = "0.10.3"

[dependencies.alloy-rlp]
version = "0.3"
default-features = true

[dependencies.arrayvec]
version = "0.7"

[dependencies.ctr]
version = "0.9"

[dependencies.delay_map]
version = "0.4"

[dependencies.enr]
version = "0.13.0"
features = [
    "k256",
    "ed25519",
]

[dependencies.fnv]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.hashlink]
version = "0.11"

[dependencies.hex]
version = "0.4"

[dependencies.hkdf]
version = "0.12"

[dependencies.lazy_static]
version = "1"

[dependencies.libp2p-identity]
version = "0.2"
features = [
    "ed25519",
    "secp256k1",
]
optional = true

[dependencies.more-asserts]
version = "0.3"

[dependencies.multiaddr]
version = "0.18"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"
package = "rand"

[dependencies.smallvec]
version = "1"

[dependencies.socket2]
version = "0.6"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "sync",
    "macros",
    "rt",
]

[dependencies.tracing]
version = "0.1"
features = ["log"]

[dependencies.uint]
version = "0.10"
default-features = false

[dependencies.zeroize]
version = "1"
features = ["zeroize_derive"]

[dev-dependencies.clap]
version = "4"
features = ["derive"]

[dev-dependencies.if-addrs]
version = "0.13"

[dev-dependencies.quickcheck]
version = "0.9"

[dev-dependencies.rand_07]
version = "0.7"
package = "rand"

[dev-dependencies.rand_core]
version = "0.6"

[dev-dependencies.rand_xorshift]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]