From ddc127f591edd47410ceada85c666edadd6b5ca5 Mon Sep 17 00:00:00 2001 From: Sergio Chouhy Date: Thu, 2 Oct 2025 09:17:19 -0300 Subject: [PATCH] machete --- common/Cargo.toml | 4 ---- integration_tests/Cargo.toml | 1 - key_protocol/Cargo.toml | 2 -- nssa/Cargo.toml | 1 - nssa/core/src/address.rs | 5 +++-- sequencer_rpc/Cargo.toml | 1 - 6 files changed, 3 insertions(+), 11 deletions(-) diff --git a/common/Cargo.toml b/common/Cargo.toml index 0bb6491..ea01279 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -18,9 +18,5 @@ elliptic-curve.workspace = true hex.workspace = true nssa-core = { path = "../nssa/core", features = ["host"] } -[dependencies.secp256k1-zkp] -workspace = true -features = ["std", "rand-std", "rand", "serde", "global-context"] - [dependencies.nssa] path = "../nssa" diff --git a/integration_tests/Cargo.toml b/integration_tests/Cargo.toml index 6d64f98..a5f975b 100644 --- a/integration_tests/Cargo.toml +++ b/integration_tests/Cargo.toml @@ -8,7 +8,6 @@ anyhow.workspace = true env_logger.workspace = true log.workspace = true actix.workspace = true -bytemuck = "1.23.2" actix-web.workspace = true tokio.workspace = true diff --git a/key_protocol/Cargo.toml b/key_protocol/Cargo.toml index d453753..dadc58d 100644 --- a/key_protocol/Cargo.toml +++ b/key_protocol/Cargo.toml @@ -11,10 +11,8 @@ serde.workspace = true k256.workspace = true sha2.workspace = true rand.workspace = true -elliptic-curve.workspace = true hex.workspace = true aes-gcm.workspace = true -lazy_static.workspace = true bip39.workspace = true hmac-sha512.workspace = true nssa-core = { path = "../nssa/core", features = ["host"] } diff --git a/nssa/Cargo.toml b/nssa/Cargo.toml index 4d21e46..93553a8 100644 --- a/nssa/Cargo.toml +++ b/nssa/Cargo.toml @@ -14,7 +14,6 @@ secp256k1 = "0.31.1" rand = "0.8" borsh = "1.5.7" hex = "0.4.3" -k256 = "0.13.3" [dev-dependencies] test-program-methods = { path = "test_program_methods" } diff --git a/nssa/core/src/address.rs b/nssa/core/src/address.rs index bbfc6f2..7b8f4db 100644 --- a/nssa/core/src/address.rs +++ b/nssa/core/src/address.rs @@ -1,7 +1,8 @@ -use std::{fmt::Display, str::FromStr}; - use serde::{Deserialize, Serialize}; +#[cfg(feature = "host")] +use std::{fmt::Display, str::FromStr}; + #[derive(Serialize, Deserialize, Clone, PartialEq, Eq)] #[cfg_attr( any(feature = "host", test), diff --git a/sequencer_rpc/Cargo.toml b/sequencer_rpc/Cargo.toml index 64c69af..7972342 100644 --- a/sequencer_rpc/Cargo.toml +++ b/sequencer_rpc/Cargo.toml @@ -12,7 +12,6 @@ actix-cors.workspace = true futures.workspace = true hex.workspace = true tempfile.workspace = true -nssa-core = { path = "../nssa/core", features = ["host"] } base64.workspace = true actix-web.workspace = true