From 0c264859b127940f13673b5fea300131a70b1a8d Mon Sep 17 00:00:00 2001 From: Jeeyong Um Date: Thu, 12 Dec 2024 00:01:12 +0900 Subject: [PATCH] remove unused dependencies from solana-program-runtime (#4015) * remove unused libc from solana-program-runtime * fix uncommitted Cargo.lock * remove solana-logger from solana-program-runtime --- Cargo.lock | 2 -- program-runtime/Cargo.toml | 2 -- programs/sbf/Cargo.lock | 1 - svm/examples/Cargo.lock | 1 - 4 files changed, 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 72f237aa42c522..019b08ba5c8ee9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8150,7 +8150,6 @@ dependencies = [ "bincode", "enum-iterator", "itertools 0.12.1", - "libc", "log", "num-derive", "num-traits", @@ -8169,7 +8168,6 @@ dependencies = [ "solana-instruction", "solana-last-restart-slot", "solana-log-collector", - "solana-logger", "solana-measure", "solana-metrics", "solana-precompiles", diff --git a/program-runtime/Cargo.toml b/program-runtime/Cargo.toml index 0cb6a7207b6af8..a29ab0cef9ed82 100644 --- a/program-runtime/Cargo.toml +++ b/program-runtime/Cargo.toml @@ -14,7 +14,6 @@ base64 = { workspace = true } bincode = { workspace = true } enum-iterator = { workspace = true } itertools = { workspace = true } -libc = { workspace = true } log = { workspace = true } num-derive = { workspace = true } num-traits = { workspace = true } @@ -56,7 +55,6 @@ thiserror = { workspace = true } [dev-dependencies] assert_matches = { workspace = true } solana-instruction = { workspace = true, features = ["bincode"] } -solana-logger = { workspace = true } solana-pubkey = { workspace = true, features = ["rand"] } solana-transaction-context = { workspace = true, features = [ "dev-context-only-utils", diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index e112ff7a3eede5..75f3192dea3ccf 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -6419,7 +6419,6 @@ dependencies = [ "bincode", "enum-iterator", "itertools 0.12.1", - "libc", "log", "num-derive", "num-traits", diff --git a/svm/examples/Cargo.lock b/svm/examples/Cargo.lock index 366a1284e132dd..901d23235388e7 100644 --- a/svm/examples/Cargo.lock +++ b/svm/examples/Cargo.lock @@ -6239,7 +6239,6 @@ dependencies = [ "bincode", "enum-iterator", "itertools 0.12.1", - "libc", "log", "num-derive", "num-traits",