Kaynağa Gözat

deps: Bump sdk to v3, decouple from program (#118)

#### Problem

The sdk v3 crates are out, but the ATA interface is still on v2.

#### Summary of changes

Bump the deps to v3, and make the program depend on the crates version
of the ATA interface to make the build possible.
Jon C 3 ay önce
ebeveyn
işleme
87fdeb445e
3 değiştirilmiş dosya ile 247 ekleme ve 169 silme
  1. 243 165
      Cargo.lock
  2. 3 3
      interface/Cargo.toml
  3. 1 1
      program/Cargo.toml

Dosya farkı çok büyük olduğundan ihmal edildi
+ 243 - 165
Cargo.lock


+ 3 - 3
interface/Cargo.toml

@@ -12,11 +12,11 @@ borsh = ["dep:borsh"]
 
 [dependencies]
 borsh = { version = "1", optional = true, features = ["unstable__schema"] }
-solana-instruction = { version = "2.2.1", features = ["std"] }
-solana-pubkey = { version = "2.2.1", features = ["curve25519"] }
+solana-instruction = { version = "3.0.0", features = ["std"] }
+solana-pubkey = { version = "3.0.0", features = ["curve25519"] }
 
 [dev-dependencies]
-solana-sdk-ids = "2.2.1"
+solana-sdk-ids = "3.0.0"
 
 [package.metadata.docs.rs]
 targets = ["x86_64-unknown-linux-gnu"]

+ 1 - 1
program/Cargo.toml

@@ -17,7 +17,7 @@ num-derive = "0.4"
 num-traits = "0.2"
 solana-program = "2.3.0"
 solana-system-interface = "1"
-spl-associated-token-account-interface = { version = "1.0.0", path = "../interface", features = ["borsh"] }
+spl-associated-token-account-interface = { version = "1.0.0", features = ["borsh"] }
 spl-token = { version = "8.0", features = ["no-entrypoint"] }
 spl-token-2022 = { version = "9.0.0", features = ["no-entrypoint"] }
 thiserror = "2.0"

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor