diff --git a/Cargo.lock b/Cargo.lock index 56752bd1c58695..80ba44652ae107 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7861,44 +7861,30 @@ dependencies = [ name = "solana-program" version = "2.2.0" dependencies = [ - "anyhow", "arbitrary", "array-bytes", "assert_matches", - "base64 0.22.1", "bincode", - "bitflags 2.6.0", "blake3", "borsh 0.10.3", "borsh 1.5.3", "bs58", - "bv", "bytemuck", - "bytemuck_derive", "console_error_panic_hook", "console_log", - "curve25519-dalek 4.1.3", - "five8_const", "getrandom 0.2.10", "itertools 0.12.1", - "js-sys", "lazy_static", - "libsecp256k1", "log", "memoffset 0.9.1", "num-bigint 0.4.6", "num-derive", "num-traits", - "parking_lot 0.12.3", - "qualifier_attr", "rand 0.8.5", "serde", "serde_bytes", "serde_derive", "serde_json", - "serial_test", - "sha2 0.10.8", - "sha3", "solana-account-info", "solana-atomic-u64", "solana-bincode", @@ -7943,9 +7929,6 @@ dependencies = [ "solana-system-interface", "solana-sysvar", "solana-sysvar-id", - "solana-transaction-error", - "static_assertions", - "test-case", "thiserror 2.0.4", "wasm-bindgen", ] diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 89ecaf40432478..033692181c4f2a 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -6179,35 +6179,25 @@ dependencies = [ name = "solana-program" version = "2.2.0" dependencies = [ - "base64 0.22.1", "bincode", - "bitflags 2.6.0", "blake3", "borsh 0.10.3", "borsh 1.5.3", "bs58", - "bv", "bytemuck", - "bytemuck_derive", "console_error_panic_hook", "console_log", - "curve25519-dalek 4.1.3", - "five8_const", "getrandom 0.2.10", - "js-sys", "lazy_static", "log", "memoffset 0.9.0", "num-bigint 0.4.6", "num-derive", "num-traits", - "parking_lot 0.12.2", "rand 0.8.5", "serde", "serde_bytes", "serde_derive", - "sha2 0.10.8", - "sha3", "solana-account-info", "solana-atomic-u64", "solana-bincode", @@ -6249,7 +6239,6 @@ dependencies = [ "solana-system-interface", "solana-sysvar", "solana-sysvar-id", - "solana-transaction-error", "thiserror 2.0.4", "wasm-bindgen", ] diff --git a/sdk/program/Cargo.toml b/sdk/program/Cargo.toml index 3cffa149de2066..e1f62410e88a92 100644 --- a/sdk/program/Cargo.toml +++ b/sdk/program/Cargo.toml @@ -17,21 +17,15 @@ blake3 = { workspace = true, features = ["traits-preview"] } borsh = { workspace = true, optional = true } borsh0-10 = { workspace = true, optional = true } bs58 = { workspace = true, features = ["alloc"] } -bv = { workspace = true, features = ["serde"] } bytemuck = { workspace = true } -bytemuck_derive = { workspace = true } -five8_const = { workspace = true } lazy_static = { workspace = true } log = { workspace = true } memoffset = { workspace = true } num-derive = { workspace = true } num-traits = { workspace = true, features = ["i128"] } -qualifier_attr = { workspace = true, optional = true } serde = { workspace = true } serde_bytes = { workspace = true } serde_derive = { workspace = true } -sha2 = { workspace = true } -sha3 = { workspace = true } solana-account-info = { workspace = true, features = ["bincode"] } solana-atomic-u64 = { workspace = true } solana-bincode = { workspace = true } @@ -95,39 +89,26 @@ getrandom = { workspace = true, features = ["custom"] } solana-define-syscall = { workspace = true } [target.'cfg(not(target_os = "solana"))'.dependencies] -base64 = { workspace = true, features = ["alloc", "std"] } -bitflags = { workspace = true } -curve25519-dalek = { workspace = true } num-bigint = { workspace = true } rand = { workspace = true } -solana-transaction-error = { workspace = true } [target.'cfg(not(target_os = "solana"))'.dev-dependencies] arbitrary = { workspace = true, features = ["derive"] } -libsecp256k1 = { workspace = true, features = ["hmac"] } # used by doctests solana-logger = { workspace = true } [target.'cfg(target_arch = "wasm32")'.dependencies] console_error_panic_hook = { workspace = true } console_log = { workspace = true } getrandom = { workspace = true, features = ["js", "wasm-bindgen"] } -js-sys = { workspace = true } wasm-bindgen = { workspace = true } -[target.'cfg(not(target_pointer_width = "64"))'.dependencies] -parking_lot = { workspace = true } - [dev-dependencies] -anyhow = { workspace = true } array-bytes = { workspace = true } assert_matches = { workspace = true } itertools = { workspace = true } serde_json = { workspace = true } -serial_test = { workspace = true } solana-pubkey = { workspace = true, features = ["dev-context-only-utils"] } solana-sysvar = { workspace = true, features = ["dev-context-only-utils"] } -static_assertions = { workspace = true } -test-case = { workspace = true } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"] @@ -148,7 +129,7 @@ borsh = [ "solana-program-error/borsh", "solana-pubkey/borsh" ] -dev-context-only-utils = ["dep:qualifier_attr"] +dev-context-only-utils = [] frozen-abi = [ "dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", diff --git a/svm/examples/Cargo.lock b/svm/examples/Cargo.lock index bbb01effe3246b..963d2fcd3c122e 100644 --- a/svm/examples/Cargo.lock +++ b/svm/examples/Cargo.lock @@ -5999,35 +5999,25 @@ dependencies = [ name = "solana-program" version = "2.2.0" dependencies = [ - "base64 0.22.1", "bincode", - "bitflags 2.6.0", "blake3", "borsh 0.10.4", "borsh 1.5.3", "bs58", - "bv", "bytemuck", - "bytemuck_derive", "console_error_panic_hook", "console_log", - "curve25519-dalek 4.1.3", - "five8_const", "getrandom 0.2.15", - "js-sys", "lazy_static", "log", "memoffset 0.9.1", "num-bigint 0.4.6", "num-derive", "num-traits", - "parking_lot 0.12.3", "rand 0.8.5", "serde", "serde_bytes", "serde_derive", - "sha2 0.10.8", - "sha3", "solana-account-info", "solana-atomic-u64", "solana-bincode", @@ -6069,7 +6059,6 @@ dependencies = [ "solana-system-interface", "solana-sysvar", "solana-sysvar-id", - "solana-transaction-error", "thiserror 2.0.4", "wasm-bindgen", ]