From df3eec95b7b4cde9b5c71a5bf7b6096983369f41 Mon Sep 17 00:00:00 2001 From: acheron Date: Tue, 27 Aug 2024 17:05:52 +0200 Subject: [PATCH 1/2] lang: Remove `arrayref` dependency --- Cargo.lock | 1 - lang/Cargo.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7587041401..3036d29b56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -277,7 +277,6 @@ dependencies = [ "anchor-derive-serde", "anchor-derive-space", "anchor-lang-idl", - "arrayref", "base64 0.21.7", "bincode", "borsh 0.10.3", diff --git a/lang/Cargo.toml b/lang/Cargo.toml index 61596a4ee8..51b8262861 100644 --- a/lang/Cargo.toml +++ b/lang/Cargo.toml @@ -51,7 +51,6 @@ anchor-derive-space = { path = "./derive/space", version = "0.30.1" } # `anchor-lang-idl` should only be included with `idl-build` feature anchor-lang-idl = { path = "../idl", version = "0.1.1", optional = true } -arrayref = "0.3" base64 = "0.21" bincode = "1" borsh = "0.10.3" From c86648d721985bef0fbd775e4f0a23931ed7d641 Mon Sep 17 00:00:00 2001 From: acheron Date: Tue, 27 Aug 2024 23:58:37 +0200 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8138bb1e88..db9d5fcecb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,7 @@ The minor version will be incremented upon a breaking change and the patch versi - ts: Remove `crypto-hash` dependency ([#3171](https://github.com/coral-xyz/anchor/pull/3171)). - ts: Improve error message of unsupported `view` method ([#3177](https://github.com/coral-xyz/anchor/pull/3177)). - idl: Fix panicking on tests ([#3197](https://github.com/coral-xyz/anchor/pull/3197)). +- lang: Remove `arrayref` dependency ([#3201](https://github.com/coral-xyz/anchor/pull/3201)). ### Breaking