Skip to content

Commit

Permalink
rust: Bump Solana crates to v2.1 (#13)
Browse files Browse the repository at this point in the history
#### 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.
  • Loading branch information
joncinque authored Nov 6, 2024
1 parent 7d00568 commit 9737b5d
Show file tree
Hide file tree
Showing 15 changed files with 1,371 additions and 781 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
toolchain: 1.81.0

- name: Install build deps
run: ./install-rust-build-deps.sh
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
toolchain: 1.81.0

- name: Install Rust build deps
run: ./install-rust-build-deps.sh
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
toolchain: 1.81.0

- name: Install Rust build deps
run: ./install-rust-build-deps.sh
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
toolchain: 1.81.0

- name: Install Rust build deps
run: ./install-rust-build-deps.sh
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
toolchain: 1.81.0

- name: Install Rust build deps
run: ./install-rust-build-deps.sh
Expand Down
Loading

0 comments on commit 9737b5d

Please sign in to comment.