[dependencies.alloy-rlp]
version = "0.3.9"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.ed25519-dalek]
features = ["rand_core"]
optional = true
version = "2.1"
[dependencies.hex]
version = "0.4"
[dependencies.k256]
features = ["ecdsa"]
optional = true
version = "0.13"
[dependencies.log]
version = "0.4"
[dependencies.rand]
version = "0.8"
[dependencies.secp256k1]
default-features = false
features = ["global-context"]
optional = true
version = "0.30"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"
[dependencies.sha3]
version = "0.10"
[dependencies.zeroize]
version = "1.8"
[dev-dependencies.alloy-rlp]
features = ["derive"]
version = "0.3"
[dev-dependencies.secp256k1]
features = ["rand"]
version = "0.30"
[dev-dependencies.serde_json]
version = "1.0"
[features]
default = ["serde", "k256"]
ed25519 = ["dep:ed25519-dalek"]
k256 = ["dep:k256"]
rust-secp256k1 = ["dep:secp256k1"]
secp256k1 = ["rust-secp256k1"]
serde = ["dep:serde"]
[lib]
name = "enr"
path = "src/lib.rs"
[package]
authors = ["Age Manning <Age@AgeManning.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["cryptography::cryptocurrencies"]
description = "Rust implementation of Ethereum Node Record (ENR) EIP778"
edition = "2021"
exclude = [".gitignore", ".github/*"]
keywords = ["ethereum", "enr", "record", "EIP778", "node"]
license = "MIT"
name = "enr"
readme = "README.md"
repository = "https://github.com/sigp/enr"
version = "0.13.0"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "ecdsa"
path = "tests/ecdsa/main.rs"