Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ The minor version will be incremented upon a breaking change and the patch versi

### Fixes

- cli: Manually limit `bytemuck_derive` to `">=1.8.1, <1.9.0"` ([#3609](https://github.com/coral-xyz/anchor/pull/3609)).

### Breaking

## [0.31.0] - 2025-03-08
Expand Down
3 changes: 3 additions & 0 deletions cli/src/rust_template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ idl-build = ["anchor-lang/idl-build"]

[dependencies]
anchor-lang = "{3}"
# Enforce bytemuck_derive version manually due to cargo 1.79 resolution bug.
# More info here: https://github.com/Lokathor/bytemuck/issues/306
bytemuck_derive = ">=1.8.1, <1.9.0"
{4}
"#,
name,
Expand Down