# 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 = "2021" name = "enr" version = "0.13.0" authors = ["Age Manning "] build = false exclude = [ ".gitignore", ".github/*", ] autobins = false autoexamples = false autotests = false autobenches = false 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" [[test]] name = "ecdsa" path = "tests/ecdsa/main.rs" [dependencies.alloy-rlp] version = "0.3.9" [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" [dependencies.ed25519-dalek] version = "2.1" features = ["rand_core"] optional = true [dependencies.hex] version = "0.4" [dependencies.k256] version = "0.13" features = ["ecdsa"] optional = true [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.secp256k1] version = "0.30" features = ["global-context"] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.sha3] version = "0.10" [dependencies.zeroize] version = "1.8" [dev-dependencies.alloy-rlp] version = "0.3" features = ["derive"] [dev-dependencies.secp256k1] version = "0.30" features = ["rand"] [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"]