From 73484f04a14ee034f6882200f60dbdf1fd1a11ef Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Fri, 15 Feb 2019 11:19:25 +1100 Subject: [PATCH] Rename `eth2_bytes` to `int_to_bytes` --- Cargo.toml | 2 +- eth2/utils/{eth2_bytes => int_to_bytes}/Cargo.toml | 2 +- eth2/utils/{eth2_bytes => int_to_bytes}/src/lib.rs | 0 .../src/specs/test_vector_int_to_bytes.yml | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename eth2/utils/{eth2_bytes => int_to_bytes}/Cargo.toml (88%) rename eth2/utils/{eth2_bytes => int_to_bytes}/src/lib.rs (100%) rename eth2/utils/{eth2_bytes => int_to_bytes}/src/specs/test_vector_int_to_bytes.yml (100%) diff --git a/Cargo.toml b/Cargo.toml index 2dda6578f..5ab0ba847 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,9 +7,9 @@ members = [ "eth2/types", "eth2/utils/bls", "eth2/utils/boolean-bitfield", - "eth2/utils/eth2_bytes", "eth2/utils/hashing", "eth2/utils/honey-badger-split", + "eth2/utils/int_to_bytes", "eth2/utils/slot_clock", "eth2/utils/ssz", "eth2/utils/swap_or_not_shuffle", diff --git a/eth2/utils/eth2_bytes/Cargo.toml b/eth2/utils/int_to_bytes/Cargo.toml similarity index 88% rename from eth2/utils/eth2_bytes/Cargo.toml rename to eth2/utils/int_to_bytes/Cargo.toml index afee169f2..f7424e032 100644 --- a/eth2/utils/eth2_bytes/Cargo.toml +++ b/eth2/utils/int_to_bytes/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "eth2_bytes" +name = "int_to_bytes" version = "0.1.0" authors = ["Paul Hauner "] edition = "2018" diff --git a/eth2/utils/eth2_bytes/src/lib.rs b/eth2/utils/int_to_bytes/src/lib.rs similarity index 100% rename from eth2/utils/eth2_bytes/src/lib.rs rename to eth2/utils/int_to_bytes/src/lib.rs diff --git a/eth2/utils/eth2_bytes/src/specs/test_vector_int_to_bytes.yml b/eth2/utils/int_to_bytes/src/specs/test_vector_int_to_bytes.yml similarity index 100% rename from eth2/utils/eth2_bytes/src/specs/test_vector_int_to_bytes.yml rename to eth2/utils/int_to_bytes/src/specs/test_vector_int_to_bytes.yml