Преглед изворни кода

deps: Bump to Solana v2.2 (#48)

#### Problem

The Solana v2.2 suite is out, but this is still on v2.1.

#### Summary of changes

Bump the crates, Solana version, and rust versions as appropriate.
Jon C пре 9 месеци
родитељ
комит
c669610253
5 измењених фајлова са 406 додато и 220 уклоњено
  1. 396 210
      Cargo.lock
  2. 3 3
      Cargo.toml
  3. 3 3
      interface/Cargo.toml
  4. 3 3
      program/Cargo.toml
  5. 1 1
      rust-toolchain.toml

Разлика између датотеке није приказан због своје велике величине
+ 396 - 210
Cargo.lock


+ 3 - 3
Cargo.toml

@@ -3,13 +3,13 @@ resolver = "2"
 members = ["interface", "program"]
 
 [workspace.metadata.cli]
-solana = "2.1.0"
+solana = "2.2.0"
 
 # Specify Rust toolchains for rustfmt, clippy, and build.
 # Any unprovided toolchains default to stable.
 [workspace.metadata.toolchains]
-format = "nightly-2024-08-08"
-lint = "nightly-2024-08-08"
+format = "nightly-2024-11-22"
+lint = "nightly-2024-11-22"
 
 [workspace.metadata.spellcheck]
 config = "scripts/spellcheck.toml"

+ 3 - 3
interface/Cargo.toml

@@ -8,11 +8,11 @@ license = "Apache-2.0"
 edition = "2021"
 
 [dependencies]
-solana-instruction = { version = "2.1.0", features = ["std"] }
-solana-pubkey = { version = "2.1.0", features = ["curve25519"] }
+solana-instruction = { version = "2.2.1", features = ["std"] }
+solana-pubkey = { version = "2.2.1", features = ["curve25519"] }
 
 [dev-dependencies]
-solana-program = "2.1.0"
+solana-program = "2.2.1"
 
 [package.metadata.docs.rs]
 targets = ["x86_64-unknown-linux-gnu"]

+ 3 - 3
program/Cargo.toml

@@ -15,15 +15,15 @@ test-sbf = []
 borsh = "1.5.5"
 num-derive = "0.4"
 num-traits = "0.2"
-solana-program = "2.1.0"
+solana-program = "2.2.1"
 spl-associated-token-account-client = { version = "2.0.0", path = "../interface" }
 spl-token = { version = "7.0", features = ["no-entrypoint"] }
 spl-token-2022 = { version = "7.0.0", features = ["no-entrypoint"] }
 thiserror = "2.0"
 
 [dev-dependencies]
-solana-program-test = "2.1.14"
-solana-sdk = "2.1.5"
+solana-program-test = "2.2.0"
+solana-sdk = "2.2.1"
 
 [lib]
 crate-type = ["cdylib", "lib"]

+ 1 - 1
rust-toolchain.toml

@@ -1,2 +1,2 @@
 [toolchain]
-channel = "1.81.0"
+channel = "1.84.1"

Неке датотеке нису приказане због велике количине промена