Skip to content

Commit 7f2a885

Browse files
committed
reduce deps
1 parent 39f7775 commit 7f2a885

File tree

3 files changed

+19
-142
lines changed

3 files changed

+19
-142
lines changed

Cargo.lock

Lines changed: 6 additions & 132 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

basics/account-data/native/program/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ solana-system-interface.workspace = true
1313
crate-type = ["cdylib", "lib"]
1414

1515
[features]
16-
anchor-debug = []
1716
custom-heap = []
1817
custom-panic = []
1918

@@ -22,4 +21,9 @@ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("solana"
2221

2322
[dev-dependencies]
2423
litesvm = "0.8.1"
25-
solana-sdk = "3.0.0"
24+
solana-keypair = "3.0.1"
25+
solana-message = "3.0.1"
26+
solana-native-token = "3.0.0"
27+
solana-pubkey = "3.0.0"
28+
solana-signer = "3.0.0"
29+
solana-transaction = "3.0.1"

basics/account-data/native/program/tests/tests.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
use account_data_native_program::state::AddressInfo;
22
use borsh::BorshDeserialize;
33
use litesvm::LiteSVM;
4-
use solana_sdk::{
5-
message::{AccountMeta, Instruction},
6-
native_token::LAMPORTS_PER_SOL,
7-
pubkey::Pubkey,
8-
signature::Keypair,
9-
signer::Signer,
10-
transaction::Transaction,
11-
};
4+
5+
use solana_keypair::Keypair;
6+
use solana_message::{AccountMeta, Instruction};
7+
use solana_native_token::LAMPORTS_PER_SOL;
8+
use solana_pubkey::Pubkey;
9+
use solana_signer::Signer;
10+
use solana_transaction::Transaction;
1211

1312
#[test]
1413
fn test_account_data() {

0 commit comments

Comments
 (0)