diff --git a/Cargo.lock b/Cargo.lock index d3672c6..ff3c19c 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.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9897ef0f1bd2362169de6d7e436ea2237dc1085d7d1e4db75f4be34d86f309d1" +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.2.1", "num-traits", "proptest", "rand 0.8.5", diff --git a/stable-swap-math/Cargo.toml b/stable-swap-math/Cargo.toml index ced9e77..8df2536 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.2.1" num-traits = "0.2" stable-swap-client = { path = "../stable-swap-client", version = "^1" } uint = { version = "0.9", default-features = false }