mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
46 lines
1.1 KiB
TOML
46 lines
1.1 KiB
TOML
[package]
|
|
name = "enr"
|
|
authors = ["Age Manning <Age@AgeManning.com>"]
|
|
edition = "2018"
|
|
version = "0.6.2"
|
|
description = "Rust implementation of Ethereum Node Record (ENR) EIP778"
|
|
readme = "./README.md"
|
|
keywords = ["ethereum", "enr", "record", "EIP778", "node"]
|
|
repository = "https://github.com/sigp/enr"
|
|
categories = ["cryptography::cryptocurrencies"]
|
|
license = "MIT"
|
|
exclude = [".gitignore", ".github/*"]
|
|
|
|
[dependencies]
|
|
base64 = "0.13"
|
|
bs58 = "0.4"
|
|
bytes = "1"
|
|
hex = "0.4.2"
|
|
log = "0.4.8"
|
|
rand = "0.8"
|
|
rlp = "0.5"
|
|
zeroize = "1.1.0"
|
|
sha3 = "0.10"
|
|
k256 = { version = "0.11", features = ["ecdsa"], optional = true }
|
|
serde = { version = "1.0.110", optional = true }
|
|
ed25519-dalek = { version = "1.0.0-pre.4", optional = true }
|
|
secp256k1 = { version = "0.24", optional = true, default-features = false, features = [
|
|
"global-context",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
rand_07 = { package = "rand", version = "0.7" }
|
|
secp256k1 = { features = ["rand-std"], version = "0.24" }
|
|
|
|
[features]
|
|
default = ["serde", "k256"]
|
|
ed25519 = ["ed25519-dalek"]
|
|
rust-secp256k1 = ["secp256k1"]
|
|
|
|
[lib]
|
|
name = "enr"
|
|
path = "src/lib.rs"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|