From 343474b77ea79e499cc1cd1eec768642fca0e131 Mon Sep 17 00:00:00 2001 From: Kevin Heavey Date: Tue, 3 Dec 2024 16:38:26 +0400 Subject: [PATCH] remove solana-sdk from solana-net-utils (#3843) --- Cargo.lock | 2 +- net-utils/Cargo.toml | 2 +- net-utils/src/ip_echo_server.rs | 2 +- programs/sbf/Cargo.lock | 2 +- svm/examples/Cargo.lock | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 92a95013cd7ee2..cb541e70b69ba2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7616,7 +7616,7 @@ dependencies = [ "serde_derive", "socket2 0.5.8", "solana-logger", - "solana-sdk", + "solana-serde", "solana-version", "tokio", "url 2.5.4", diff --git a/net-utils/Cargo.toml b/net-utils/Cargo.toml index 838589e5713975..f5468118a6150e 100644 --- a/net-utils/Cargo.toml +++ b/net-utils/Cargo.toml @@ -20,7 +20,7 @@ serde = { workspace = true } serde_derive = { workspace = true } socket2 = { workspace = true } solana-logger = { workspace = true, optional = true } -solana-sdk = { workspace = true } +solana-serde = { workspace = true } solana-version = { workspace = true, optional = true } tokio = { workspace = true, features = ["full"] } url = { workspace = true } diff --git a/net-utils/src/ip_echo_server.rs b/net-utils/src/ip_echo_server.rs index f27b48b6fbd198..4641254636a1f9 100644 --- a/net-utils/src/ip_echo_server.rs +++ b/net-utils/src/ip_echo_server.rs @@ -2,7 +2,7 @@ use { crate::{bind_to_unspecified, HEADER_LENGTH, IP_ECHO_SERVER_RESPONSE_LENGTH}, log::*, serde_derive::{Deserialize, Serialize}, - solana_sdk::deserialize_utils::default_on_eof, + solana_serde::default_on_eof, std::{ io, net::{IpAddr, SocketAddr}, diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index bfd0b57baea574..75fc57d6c858c1 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -6008,7 +6008,7 @@ dependencies = [ "serde", "serde_derive", "socket2 0.5.8", - "solana-sdk", + "solana-serde", "tokio", "url 2.5.4", ] diff --git a/svm/examples/Cargo.lock b/svm/examples/Cargo.lock index 676550199602c1..d768fff746d0a5 100644 --- a/svm/examples/Cargo.lock +++ b/svm/examples/Cargo.lock @@ -5828,7 +5828,7 @@ dependencies = [ "serde", "serde_derive", "socket2", - "solana-sdk", + "solana-serde", "tokio", "url 2.5.4", ]