Skip to content

Commit ac05970

Browse files
authored
fix: don't generate borsh::to_vec if no borsh traits (#12)
1 parent b6ed330 commit ac05970

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+7352
-181
lines changed

.changeset/puny-guests-grow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@codama/renderers-rust': patch
3+
---
4+
5+
Don't generate `borsh::to_vec` if no borsh traits

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
DO_NOT_TRACK: '1'
1111
NODE_VERSION: 20
1212
SOLANA_VERSION: 2.1.9
13+
RUST_TOOLCHAIN: '1.86.0'
1314

1415
jobs:
1516
lint:
@@ -44,6 +45,12 @@ jobs:
4445
- name: Git checkout
4546
uses: actions/checkout@v4
4647

48+
- name: Install Rust Toolchain and Components
49+
uses: dtolnay/rust-toolchain@master
50+
with:
51+
toolchain: ${{ env.RUST_TOOLCHAIN }}
52+
components: clippy, rustfmt
53+
4754
- name: Install Solana ${{ env.SOLANA_VERSION }}
4855
uses: solana-program/actions/install-solana@v1
4956
with:

0 commit comments

Comments
 (0)