Prechádzať zdrojové kódy

lang: Remove `getrandom` dependency (#3072)

acheron 1 rok pred
rodič
commit
59ee310cfa
3 zmenil súbory, kde vykonal 1 pridanie a 3 odobranie
  1. 1 0
      CHANGELOG.md
  2. 0 1
      Cargo.lock
  3. 0 2
      lang/Cargo.toml

+ 1 - 0
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
 

+ 0 - 1
Cargo.lock

@@ -282,7 +282,6 @@ dependencies = [
  "bincode",
  "borsh 0.10.3",
  "bytemuck",
- "getrandom 0.2.10",
  "solana-program",
  "thiserror",
 ]

+ 0 - 2
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"] }