Skip to content

Commit

Permalink
do not turn on serde (from hex) when the serde feature is not on (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
divagant-martian authored Jun 14, 2023
1 parent 50871ee commit b3e4dd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exclude = [".gitignore", ".github/*"]
[dependencies]
base64 = "0.21.0"
bytes = "1"
hex = {version = "0.4.2", features = ["serde"]}
hex = {version = "0.4.2"}
log = "0.4.8"
rand = "0.8"
rlp = "0.5"
Expand All @@ -35,6 +35,7 @@ serde_json = { version = "1.0.95" }
default = ["serde", "k256"]
ed25519 = ["ed25519-dalek"]
rust-secp256k1 = ["secp256k1"]
serde = ["dep:serde", "hex/serde"]

[lib]
name = "enr"
Expand Down

0 comments on commit b3e4dd8

Please sign in to comment.