Skip to content

Commit 8259114

Browse files
committed
rust: Bump Solana crates to v2.1
#### Problem Version 2.1 of the Solana crates is out, but all of the Rust programs are still on v2.0. #### Summary of changes Bump crates to v2.1, Rust to 1.81, and use component crates wherever possible. The CPI program has a higher CU usage also, so update the README to reflect that.
1 parent 7d00568 commit 8259114

File tree

15 files changed

+1371
-781
lines changed

15 files changed

+1371
-781
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install Rust
4242
uses: dtolnay/rust-toolchain@master
4343
with:
44-
toolchain: 1.78.0
44+
toolchain: 1.81.0
4545

4646
- name: Install build deps
4747
run: ./install-rust-build-deps.sh
@@ -69,7 +69,7 @@ jobs:
6969
- name: Install Rust
7070
uses: dtolnay/rust-toolchain@master
7171
with:
72-
toolchain: 1.78.0
72+
toolchain: 1.81.0
7373

7474
- name: Install Rust build deps
7575
run: ./install-rust-build-deps.sh
@@ -103,7 +103,7 @@ jobs:
103103
- name: Install Rust
104104
uses: dtolnay/rust-toolchain@master
105105
with:
106-
toolchain: 1.78.0
106+
toolchain: 1.81.0
107107

108108
- name: Install Rust build deps
109109
run: ./install-rust-build-deps.sh
@@ -140,7 +140,7 @@ jobs:
140140
- name: Install Rust
141141
uses: dtolnay/rust-toolchain@master
142142
with:
143-
toolchain: 1.78.0
143+
toolchain: 1.81.0
144144

145145
- name: Install Rust build deps
146146
run: ./install-rust-build-deps.sh
@@ -171,7 +171,7 @@ jobs:
171171
- name: Install Rust
172172
uses: dtolnay/rust-toolchain@master
173173
with:
174-
toolchain: 1.78.0
174+
toolchain: 1.81.0
175175

176176
- name: Install Rust build deps
177177
run: ./install-rust-build-deps.sh

0 commit comments

Comments
 (0)