From 59ee310cfa18524e7449db73604db21b0e04780c Mon Sep 17 00:00:00 2001 From: acheron <98934430+acheroncrypto@users.noreply.github.com> Date: Fri, 5 Jul 2024 20:59:40 +0200 Subject: [PATCH] lang: Remove `getrandom` dependency (#3072) --- CHANGELOG.md | 1 + Cargo.lock | 1 - lang/Cargo.toml | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4c5ac197..3ab7075bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ The minor version will be incremented upon a breaking change and the patch versi - idl: Avoid interference from rust tests during IDL generation ([#3058](https://github.com/coral-xyz/anchor/pull/3058)). - lang: Fix `align` repr support in `declare-program!` ([#3056](https://github.com/coral-xyz/anchor/pull/3056)). - lang: Make stack frames slimmer on ATA creation ([#3065](https://github.com/coral-xyz/anchor/pull/3065)). +- lang: Remove `getrandom` dependency ([#3072](https://github.com/coral-xyz/anchor/pull/3072)). ### Breaking diff --git a/Cargo.lock b/Cargo.lock index d588e86c4..a1b18b02c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -282,7 +282,6 @@ dependencies = [ "bincode", "borsh 0.10.3", "bytemuck", - "getrandom 0.2.10", "solana-program", "thiserror", ] diff --git a/lang/Cargo.toml b/lang/Cargo.toml index 538cc16a1..986c483ea 100644 --- a/lang/Cargo.toml +++ b/lang/Cargo.toml @@ -58,5 +58,3 @@ borsh = ">=0.9, <0.11" bytemuck = "1" solana-program = "1.17.3" thiserror = "1" -# TODO: Remove. This crate has been added to fix a build error with the 1.16.0 release. -getrandom = { version = "0.2", features = ["custom"] }