From 77ea53bb6e28f16185e9a275bdd15195b0c38131 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Tue, 25 Oct 2022 02:06:12 +0200 Subject: [PATCH] chore: reexport hex (#128) --- Cargo.lock | 1 + crates/primitives/Cargo.toml | 1 + crates/primitives/src/lib.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index a3fab65c50..f1e900449f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2625,6 +2625,7 @@ dependencies = [ "bytes", "crc", "ethers-core", + "hex", "hex-literal", "maplit", "parity-scale-codec", diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 24f7821af1..51f7f3a630 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -27,6 +27,7 @@ serde = "1.0" thiserror = "1" sucds = "0.5.0" arbitrary = { version = "1.1.7", features = ["derive"], optional = true} +hex = "0.4" [dev-dependencies] arbitrary = { version = "1.1.7", features = ["derive"]} diff --git a/crates/primitives/src/lib.rs b/crates/primitives/src/lib.rs index 05cd975c21..3789214fdc 100644 --- a/crates/primitives/src/lib.rs +++ b/crates/primitives/src/lib.rs @@ -57,6 +57,7 @@ pub use ethers_core::{ #[doc(hidden)] mod __reexport { + pub use hex; pub use tiny_keccak; }