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