-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (40 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "enr"
authors = ["Age Manning <[email protected]>"]
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