Skip to content

0.10.1 - 2024-10-17

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Oct 13:34
1a10a97

Release Notes

Other

  • update Docker image reference in new command template with cargo-near 0.10.0 and Rust 1.81.0 (#232)

sourcescan/cargo-near compatibility note

Using 0.2.0 or newer cargo_near_build/extended functionality in factory contracts to build subcontracts requires docker build to happen inside of sourcescan/cargo-near:0.10.0-rust-1.81.0 image or newer.
Older images in conjunction with 0.2.0 or newer cargo-near-build won't result in verifiable/reproducible builds of subcontracts, as they don't do wasm-opt -O step, which is a breaking change of default behaviour of cargo near build command without flags.

Install cargo-near 0.10.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/near/cargo-near/releases/download/cargo-near-v0.10.1/cargo-near-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/near/cargo-near/releases/download/cargo-near-v0.10.1/cargo-near-installer.ps1 | iex"

Install prebuilt binaries into your npm project

npm install [email protected]

Download cargo-near 0.10.1

File Platform Checksum
cargo-near-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
cargo-near-x86_64-apple-darwin.tar.gz Intel macOS checksum
cargo-near-x86_64-pc-windows-msvc.tar.gz x64 Windows checksum
cargo-near-x86_64-pc-windows-msvc.msi x64 Windows checksum
cargo-near-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
cargo-near-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum