-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: compilation with
default-features = false
- Loading branch information
Showing
6 changed files
with
96 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "enr" | ||
authors = ["Age Manning <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
version = "0.11.1" | ||
description = "Rust implementation of Ethereum Node Record (ENR) EIP778" | ||
readme = "./README.md" | ||
|
@@ -12,30 +12,32 @@ license = "MIT" | |
exclude = [".gitignore", ".github/*"] | ||
|
||
[dependencies] | ||
alloy-rlp = { version = "0.3.4", default-features = true } | ||
base64 = "0.21.7" | ||
alloy-rlp = "0.3.4" | ||
base64 = "0.21" | ||
bytes = "1" | ||
hex = { version = "0.4.3" } | ||
hex = "0.4.3" | ||
log = "0.4.21" | ||
rand = "0.8" | ||
zeroize = "1.7.0" | ||
sha3 = "0.10" | ||
k256 = { version = "0.13", features = ["ecdsa"], optional = true } | ||
serde = { version = "1.0.197", features = ["derive"], optional = true } | ||
serde = { version = "1.0", features = ["derive"], optional = true } | ||
ed25519-dalek = { version = "2.1.1", optional = true, features = ["rand_core"] } | ||
secp256k1 = { version = "0.28", optional = true, default-features = false, features = [ | ||
"global-context", | ||
] } | ||
|
||
[dev-dependencies] | ||
alloy-rlp = { version = "0.3.4", features = ["derive"] } | ||
secp256k1 = { features = ["rand-std"], version = "0.28" } | ||
serde_json = { version = "1.0.114" } | ||
secp256k1 = { version = "0.28", features = ["rand-std"] } | ||
serde_json = "1.0" | ||
|
||
[features] | ||
default = ["serde", "k256"] | ||
ed25519 = ["ed25519-dalek"] | ||
rust-secp256k1 = ["secp256k1"] | ||
default = ["serde"] | ||
ed25519 = ["dep:ed25519-dalek"] | ||
k256 = ["dep:k256"] | ||
secp256k1 = ["rust-secp256k1"] | ||
rust-secp256k1 = ["dep:secp256k1"] | ||
|
||
[lib] | ||
name = "enr" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters