From 7e6d13eeea1809acf4aee52cea3e22d6660b13e6 Mon Sep 17 00:00:00 2001 From: Jonathan Wang <31040440+jonathanpwang@users.noreply.github.com> Date: Sun, 7 Jul 2024 22:17:02 -0700 Subject: [PATCH] chore: rename `poseidon2` crate to `poseidon2-air` --- Cargo.toml | 4 ++-- {poseidon2 => poseidon2-air}/Cargo.toml | 2 +- {poseidon2 => poseidon2-air}/src/lib.rs | 0 {poseidon2 => poseidon2-air}/src/poseidon2/air.rs | 0 {poseidon2 => poseidon2-air}/src/poseidon2/bridge.rs | 0 {poseidon2 => poseidon2-air}/src/poseidon2/columns.rs | 0 {poseidon2 => poseidon2-air}/src/poseidon2/mod.rs | 0 {poseidon2 => poseidon2-air}/src/poseidon2/tests.rs | 0 {poseidon2 => poseidon2-air}/src/poseidon2/trace.rs | 0 9 files changed, 3 insertions(+), 3 deletions(-) rename {poseidon2 => poseidon2-air}/Cargo.toml (98%) rename {poseidon2 => poseidon2-air}/src/lib.rs (100%) rename {poseidon2 => poseidon2-air}/src/poseidon2/air.rs (100%) rename {poseidon2 => poseidon2-air}/src/poseidon2/bridge.rs (100%) rename {poseidon2 => poseidon2-air}/src/poseidon2/columns.rs (100%) rename {poseidon2 => poseidon2-air}/src/poseidon2/mod.rs (100%) rename {poseidon2 => poseidon2-air}/src/poseidon2/tests.rs (100%) rename {poseidon2 => poseidon2-air}/src/poseidon2/trace.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 5a0e2e09ba..efd8d26d5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ members = [ "logical-interface", "vm", "vm/bin", - "poseidon2", + "poseidon2-air", ] resolver = "2" @@ -55,7 +55,7 @@ p3-maybe-rayon = { git = "https://github.com/Plonky3/Plonky3.git", rev = "95e56f "parallel", ] } p3-bn254-fr = { git = "https://github.com/Plonky3/Plonky3.git", rev = "95e56fa" } -zkhash = { git = "https://github.com/HorizenLabs/poseidon2.git", rev = "bb476b9"} +zkhash = { git = "https://github.com/HorizenLabs/poseidon2.git", rev = "bb476b9" } # For local development. Add to your `.cargo/config.toml` # [patch."https://github.com/Plonky3/Plonky3.git"] diff --git a/poseidon2/Cargo.toml b/poseidon2-air/Cargo.toml similarity index 98% rename from poseidon2/Cargo.toml rename to poseidon2-air/Cargo.toml index d379e7865d..51741ea380 100644 --- a/poseidon2/Cargo.toml +++ b/poseidon2-air/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "poseidon2" +name = "poseidon2-air" version.workspace = true authors.workspace = true edition.workspace = true diff --git a/poseidon2/src/lib.rs b/poseidon2-air/src/lib.rs similarity index 100% rename from poseidon2/src/lib.rs rename to poseidon2-air/src/lib.rs diff --git a/poseidon2/src/poseidon2/air.rs b/poseidon2-air/src/poseidon2/air.rs similarity index 100% rename from poseidon2/src/poseidon2/air.rs rename to poseidon2-air/src/poseidon2/air.rs diff --git a/poseidon2/src/poseidon2/bridge.rs b/poseidon2-air/src/poseidon2/bridge.rs similarity index 100% rename from poseidon2/src/poseidon2/bridge.rs rename to poseidon2-air/src/poseidon2/bridge.rs diff --git a/poseidon2/src/poseidon2/columns.rs b/poseidon2-air/src/poseidon2/columns.rs similarity index 100% rename from poseidon2/src/poseidon2/columns.rs rename to poseidon2-air/src/poseidon2/columns.rs diff --git a/poseidon2/src/poseidon2/mod.rs b/poseidon2-air/src/poseidon2/mod.rs similarity index 100% rename from poseidon2/src/poseidon2/mod.rs rename to poseidon2-air/src/poseidon2/mod.rs diff --git a/poseidon2/src/poseidon2/tests.rs b/poseidon2-air/src/poseidon2/tests.rs similarity index 100% rename from poseidon2/src/poseidon2/tests.rs rename to poseidon2-air/src/poseidon2/tests.rs diff --git a/poseidon2/src/poseidon2/trace.rs b/poseidon2-air/src/poseidon2/trace.rs similarity index 100% rename from poseidon2/src/poseidon2/trace.rs rename to poseidon2-air/src/poseidon2/trace.rs