From e343599846657c96d264f38a2dd1082332085d8a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Dec 2023 05:03:13 +0000 Subject: [PATCH] Bump borsh from 0.9.3 to 1.3.0 Bumps [borsh](https://github.com/near/borsh-rs) from 0.9.3 to 1.3.0. - [Release notes](https://github.com/near/borsh-rs/releases) - [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/near/borsh-rs/compare/v0.9.3...borsh-v1.3.0) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 23 +++++++++++++++++++---- stable-swap-math/Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d3672c6..7b5694d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -173,7 +173,7 @@ dependencies = [ "arrayref", "base64 0.13.0", "bincode", - "borsh", + "borsh 0.9.3", "bytemuck", "solana-program", "thiserror", @@ -363,6 +363,15 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "borsh" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d4d6dafc1a3bb54687538972158f07b2c948bc57d5890df22c0739098b3028" +dependencies = [ + "cfg_aliases", +] + [[package]] name = "borsh-derive" version = "0.9.3" @@ -467,6 +476,12 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "cfg_aliases" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + [[package]] name = "chrono" version = "0.4.22" @@ -1612,7 +1627,7 @@ dependencies = [ "bincode", "bitflags", "blake3", - "borsh", + "borsh 0.9.3", "borsh-derive", "bs58 0.4.0", "bv", @@ -1655,7 +1670,7 @@ dependencies = [ "base64 0.13.0", "bincode", "bitflags", - "borsh", + "borsh 0.9.3", "bs58 0.4.0", "bytemuck", "byteorder", @@ -1772,7 +1787,7 @@ dependencies = [ name = "stable-swap-math" version = "1.8.2" dependencies = [ - "borsh", + "borsh 1.3.0", "num-traits", "proptest", "rand 0.8.5", diff --git a/stable-swap-math/Cargo.toml b/stable-swap-math/Cargo.toml index ced9e77..e376d81 100644 --- a/stable-swap-math/Cargo.toml +++ b/stable-swap-math/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" keywords = ["solana", "saber", "math"] [dependencies] -borsh = "0.9.2" +borsh = "1.3.0" num-traits = "0.2" stable-swap-client = { path = "../stable-swap-client", version = "^1" } uint = { version = "0.9", default-features = false }