lang: Remove `getrandom` dependency (#3072)

This commit is contained in:
acheron 2024-07-05 20:59:40 +02:00 committed by GitHub
parent 5727865b65
commit 59ee310cfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 3 deletions

View File

@ -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

1
Cargo.lock generated
View File

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

View File

@ -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"] }