Skip to content

chore: upgrade Rust contract dependencies and pin toolchain#20

Open
fati-Onchain wants to merge 3 commits into
near-examples:mainfrom
fati-Onchain:chore/upgrade-rust-contracts-dependencies
Open

chore: upgrade Rust contract dependencies and pin toolchain#20
fati-Onchain wants to merge 3 commits into
near-examples:mainfrom
fati-Onchain:chore/upgrade-rust-contracts-dependencies

Conversation

@fati-Onchain

@fati-Onchain fati-Onchain commented Jan 12, 2026

Copy link
Copy Markdown

Summary

Modernizes Rust contract dependencies and standardizes the development toolchain across both simple and advanced contracts.

Changes

Dependency Upgrades

  • near-sdk: 5.6.0 → 5.23.0
  • near-contract-standards: 5.6.0 → 5.23.0
  • near-workspaces: 0.15.0 → 0.22.0
  • schemars: 0.8.16 → 1.1.0 (advanced contract only)

Toolchain Configuration

  • Pin Rust to version 1.86.0 (previously tracking stable channel)
  • Add clippy and rust-analyzer components for improved development experience

Affected Contracts

  • contract-simple-rs
  • contract-advanced-rs

Testing

  • Simple contract builds and tests pass
  • Advanced contract builds and tests pass
  • No breaking changes in contract behavior

- Update near-sdk from 5.6.0 to 5.23.0
- Update near-contract-standards from 5.6.0 to 5.23.0
- Update near-workspaces from 0.15.0 to 0.22.0
- Update schemars from 0.8.16 to 1.1.0 (advanced contract)
- Pin Rust toolchain to 1.86.0 (from stable channel)
- Add clippy and rust-analyzer to toolchain components
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants