From 0b9e867057d2df0bdf9fc15111ff38cf0bdef5df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 09:00:32 +0000 Subject: [PATCH] build(deps): bump borsh from 0.10.3 to 1.1.0 Bumps [borsh](https://github.com/near/borsh-rs) from 0.10.3 to 1.1.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/borsh-v0.10.3...borsh-v1.1.0) --- updated-dependencies: - dependency-name: borsh dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 61 ++++++++++++------- associated-token-account/program/Cargo.toml | 2 +- binary-option/program/Cargo.toml | 2 +- binary-oracle-pair/program/Cargo.toml | 2 +- feature-proposal/program/Cargo.toml | 2 +- governance/addin-api/Cargo.toml | 2 +- governance/addin-mock/program/Cargo.toml | 2 +- governance/chat/program/Cargo.toml | 2 +- governance/program/Cargo.toml | 2 +- governance/test-sdk/Cargo.toml | 2 +- governance/tools/Cargo.toml | 2 +- libraries/discriminator/Cargo.toml | 2 +- libraries/math/Cargo.toml | 2 +- .../type-length-value-derive-test/Cargo.toml | 2 +- managed-token/program/Cargo.toml | 2 +- name-service/program/Cargo.toml | 2 +- record/program/Cargo.toml | 2 +- single-pool/cli/Cargo.toml | 2 +- single-pool/program/Cargo.toml | 2 +- stake-pool/cli/Cargo.toml | 2 +- stake-pool/program/Cargo.toml | 2 +- stateless-asks/program/Cargo.toml | 2 +- token-metadata/interface/Cargo.toml | 2 +- token/program-2022-test/Cargo.toml | 2 +- 24 files changed, 61 insertions(+), 46 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e6460e242e..5fd4e9d93ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -558,7 +558,7 @@ name = "binary-option" version = "0.1.0" dependencies = [ "arrayref", - "borsh 0.10.3", + "borsh 1.1.0", "solana-program", "spl-token 4.0.0", "thiserror", @@ -711,6 +711,15 @@ dependencies = [ "hashbrown 0.13.2", ] +[[package]] +name = "borsh" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acedd71cd81a2231f8c032b8330184e4e290374ca4e782aa95916b17e04b71b8" +dependencies = [ + "cfg_aliases", +] + [[package]] name = "borsh-derive" version = "0.9.3" @@ -962,6 +971,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 = "cgen" version = "0.1.0" @@ -6410,7 +6425,7 @@ name = "spl-associated-token-account" version = "2.0.0" dependencies = [ "assert_matches", - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "solana-program", @@ -6435,7 +6450,7 @@ dependencies = [ name = "spl-binary-oracle-pair" version = "0.1.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "solana-program", @@ -6463,7 +6478,7 @@ dependencies = [ name = "spl-discriminator" version = "0.1.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "bytemuck", "solana-program", "spl-discriminator-derive", @@ -6548,7 +6563,7 @@ dependencies = [ name = "spl-feature-proposal" version = "1.0.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "solana-program", "solana-program-test", "solana-sdk", @@ -6577,7 +6592,7 @@ dependencies = [ "assert_matches", "base64 0.21.2", "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "proptest", @@ -6598,7 +6613,7 @@ dependencies = [ name = "spl-governance-addin-api" version = "0.1.3" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "solana-program", "spl-governance-tools", ] @@ -6610,7 +6625,7 @@ dependencies = [ "arrayref", "assert_matches", "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "proptest", @@ -6633,7 +6648,7 @@ dependencies = [ "arrayref", "assert_matches", "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "proptest", @@ -6657,7 +6672,7 @@ version = "0.1.3" dependencies = [ "arrayref", "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "lazy_static", "num-derive 0.4.0", "num-traits", @@ -6676,7 +6691,7 @@ version = "0.1.3" dependencies = [ "arrayref", "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "serde", @@ -6700,7 +6715,7 @@ dependencies = [ name = "spl-managed-token" version = "0.1.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "shank", "solana-program", "solana-program-test", @@ -6714,7 +6729,7 @@ dependencies = [ name = "spl-math" version = "0.2.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "libm", "num-derive 0.4.0", "num-traits", @@ -6756,7 +6771,7 @@ dependencies = [ name = "spl-name-service" version = "0.2.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "solana-program", @@ -6792,7 +6807,7 @@ dependencies = [ name = "spl-record" version = "0.1.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "solana-program", @@ -6816,7 +6831,7 @@ name = "spl-single-pool-cli" version = "1.0.0" dependencies = [ "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "clap 3.2.25", "console", "serde", @@ -6851,7 +6866,7 @@ dependencies = [ "approx", "arrayref", "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "num_enum 0.7.0", @@ -6872,7 +6887,7 @@ version = "0.7.0" dependencies = [ "arrayref", "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "num-derive 0.4.0", "num-traits", "num_enum 0.7.0", @@ -6895,7 +6910,7 @@ name = "spl-stake-pool-cli" version = "0.7.0" dependencies = [ "bincode", - "borsh 0.10.3", + "borsh 1.1.0", "bs58", "clap 2.34.0", "serde", @@ -7011,7 +7026,7 @@ name = "spl-token-2022-test" version = "0.0.1" dependencies = [ "async-trait", - "borsh 0.10.3", + "borsh 1.1.0", "futures-util", "solana-program", "solana-program-test", @@ -7134,7 +7149,7 @@ dependencies = [ name = "spl-token-metadata-interface" version = "0.1.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "solana-program", "spl-discriminator", "spl-program-error", @@ -7279,7 +7294,7 @@ dependencies = [ name = "spl-type-length-value-derive-test" version = "0.1.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "solana-program", "spl-discriminator", "spl-type-length-value", @@ -7289,7 +7304,7 @@ dependencies = [ name = "stateless-asks" version = "0.1.0" dependencies = [ - "borsh 0.10.3", + "borsh 1.1.0", "solana-program", "solana-program-test", "solana-sdk", diff --git a/associated-token-account/program/Cargo.toml b/associated-token-account/program/Cargo.toml index 1ca4cde551b..e484c30104c 100644 --- a/associated-token-account/program/Cargo.toml +++ b/associated-token-account/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] assert_matches = "1.5.0" -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" solana-program = "1.16.3" diff --git a/binary-option/program/Cargo.toml b/binary-option/program/Cargo.toml index a9e74c38d52..aa04ef775c5 100644 --- a/binary-option/program/Cargo.toml +++ b/binary-option/program/Cargo.toml @@ -13,7 +13,7 @@ solana-program = "1.16.3" thiserror = "1.0" spl-token = {version = "4.0", path = "../../token/program", features = ["no-entrypoint"]} arrayref = "0.3.7" -borsh = "0.10" +borsh = "1.1" uint = "0.9" [lib] diff --git a/binary-oracle-pair/program/Cargo.toml b/binary-oracle-pair/program/Cargo.toml index 186f474907f..485bd815cd7 100644 --- a/binary-oracle-pair/program/Cargo.toml +++ b/binary-oracle-pair/program/Cargo.toml @@ -17,7 +17,7 @@ solana-program = "1.16.3" spl-token = { version = "4.0", path = "../../token/program", features = [ "no-entrypoint" ] } thiserror = "1.0" uint = "0.9" -borsh = "0.10" +borsh = "1.1" [dev-dependencies] solana-program-test = "1.16.3" diff --git a/feature-proposal/program/Cargo.toml b/feature-proposal/program/Cargo.toml index 81137db67e4..72e66400391 100644 --- a/feature-proposal/program/Cargo.toml +++ b/feature-proposal/program/Cargo.toml @@ -12,7 +12,7 @@ no-entrypoint = [] test-sbf = [] [dependencies] -borsh = "0.10" +borsh = "1.1" solana-program = "1.16.3" spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] } diff --git a/governance/addin-api/Cargo.toml b/governance/addin-api/Cargo.toml index b99e22d0fe8..bbe8557f3ea 100644 --- a/governance/addin-api/Cargo.toml +++ b/governance/addin-api/Cargo.toml @@ -8,6 +8,6 @@ license = "Apache-2.0" edition = "2021" [dependencies] -borsh = "0.10" +borsh = "1.1" spl-governance-tools= { version = "0.1.3", path ="../tools"} solana-program = "1.16.3" diff --git a/governance/addin-mock/program/Cargo.toml b/governance/addin-mock/program/Cargo.toml index 8edce260d66..babd7a214c1 100644 --- a/governance/addin-mock/program/Cargo.toml +++ b/governance/addin-mock/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.7" bincode = "1.3.2" -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" serde = "1.0.183" diff --git a/governance/chat/program/Cargo.toml b/governance/chat/program/Cargo.toml index 9ff6b4d5a95..93add182640 100644 --- a/governance/chat/program/Cargo.toml +++ b/governance/chat/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.7" bincode = "1.3.2" -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" serde = "1.0.183" diff --git a/governance/program/Cargo.toml b/governance/program/Cargo.toml index 978fc1b0bed..2e67d73a5fa 100644 --- a/governance/program/Cargo.toml +++ b/governance/program/Cargo.toml @@ -14,7 +14,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.7" bincode = "1.3.2" -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" serde = "1.0.183" diff --git a/governance/test-sdk/Cargo.toml b/governance/test-sdk/Cargo.toml index 3282ba66202..a6543f4790b 100644 --- a/governance/test-sdk/Cargo.toml +++ b/governance/test-sdk/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" [dependencies] arrayref = "0.3.7" bincode = "1.3.2" -borsh = "0.10" +borsh = "1.1" lazy_static = "1.4.0" num-derive = "0.4" num-traits = "0.2" diff --git a/governance/tools/Cargo.toml b/governance/tools/Cargo.toml index 076491e5346..5e3bf01ba3c 100644 --- a/governance/tools/Cargo.toml +++ b/governance/tools/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" [dependencies] arrayref = "0.3.7" bincode = "1.3.2" -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" serde = "1.0.183" diff --git a/libraries/discriminator/Cargo.toml b/libraries/discriminator/Cargo.toml index 7f754d745b0..5e7cf8ee97a 100644 --- a/libraries/discriminator/Cargo.toml +++ b/libraries/discriminator/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" borsh = ["dep:borsh"] [dependencies] -borsh = { version = "0.10", optional = true } +borsh = { version = "1.1", optional = true } bytemuck = { version = "1.13.1", features = ["derive"] } solana-program = "1.16.3" spl-discriminator-derive = { version = "0.1.0", path = "./derive" } diff --git a/libraries/math/Cargo.toml b/libraries/math/Cargo.toml index e52dcb630a4..acd1c0a46f5 100644 --- a/libraries/math/Cargo.toml +++ b/libraries/math/Cargo.toml @@ -12,7 +12,7 @@ no-entrypoint = [] test-sbf = [] [dependencies] -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" solana-program = "1.16.3" diff --git a/libraries/type-length-value-derive-test/Cargo.toml b/libraries/type-length-value-derive-test/Cargo.toml index 102128fe8bf..6aa8c53fe2b 100644 --- a/libraries/type-length-value-derive-test/Cargo.toml +++ b/libraries/type-length-value-derive-test/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" edition = "2021" [dev-dependencies] -borsh = "0.10" +borsh = "1.1" solana-program = "1.16" spl-discriminator = { version = "0.1.0", path = "../discriminator" } spl-type-length-value = { version = "0.2.0", path = "../type-length-value", features = ["derive"] } \ No newline at end of file diff --git a/managed-token/program/Cargo.toml b/managed-token/program/Cargo.toml index a00dae56a34..c2880761d6e 100644 --- a/managed-token/program/Cargo.toml +++ b/managed-token/program/Cargo.toml @@ -22,7 +22,7 @@ default = [] test = [] [dependencies] -borsh = "0.10" +borsh = "1.1" shank = "^0.2.1" solana-program = "1.16.3" spl-associated-token-account = { version = "2.0", path = "../../associated-token-account/program", features = [ "no-entrypoint", ] } diff --git a/name-service/program/Cargo.toml b/name-service/program/Cargo.toml index febf684c8cb..1e35ae87f53 100644 --- a/name-service/program/Cargo.toml +++ b/name-service/program/Cargo.toml @@ -19,7 +19,7 @@ test-sbf = [] [dependencies] solana-program = "1.16.3" num-traits = "0.2" -borsh = "0.10" +borsh = "1.1" num-derive = "0.4.0" thiserror = "1.0.46" diff --git a/record/program/Cargo.toml b/record/program/Cargo.toml index fb329e85730..0ed6e5ac18c 100644 --- a/record/program/Cargo.toml +++ b/record/program/Cargo.toml @@ -12,7 +12,7 @@ no-entrypoint = [] test-sbf = [] [dependencies] -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" solana-program = "1.16.3" diff --git a/single-pool/cli/Cargo.toml b/single-pool/cli/Cargo.toml index 63545fb14a7..925323a0896 100644 --- a/single-pool/cli/Cargo.toml +++ b/single-pool/cli/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" tokio = "1.14" clap = { version = "3.2.23", features = ["derive"] } console = "0.15.7" -borsh = "0.10" +borsh = "1.1" bincode = "1.3.1" serde = "1.0.183" serde_derive = "1.0.103" diff --git a/single-pool/program/Cargo.toml b/single-pool/program/Cargo.toml index 42452d8ff0d..e84957e2ccf 100644 --- a/single-pool/program/Cargo.toml +++ b/single-pool/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.7" -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" num_enum = "0.7.0" diff --git a/stake-pool/cli/Cargo.toml b/stake-pool/cli/Cargo.toml index 19e0e3b48e4..4390df263f9 100644 --- a/stake-pool/cli/Cargo.toml +++ b/stake-pool/cli/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/solana-labs/solana-program-library" version = "0.7.0" [dependencies] -borsh = "0.10" +borsh = "1.1" clap = "2.33.3" serde = "1.0.183" serde_derive = "1.0.130" diff --git a/stake-pool/program/Cargo.toml b/stake-pool/program/Cargo.toml index 11fe64b88d6..16022223b64 100644 --- a/stake-pool/program/Cargo.toml +++ b/stake-pool/program/Cargo.toml @@ -13,7 +13,7 @@ test-sbf = [] [dependencies] arrayref = "0.3.7" -borsh = "0.10" +borsh = "1.1" num-derive = "0.4" num-traits = "0.2" num_enum = "0.7.0" diff --git a/stateless-asks/program/Cargo.toml b/stateless-asks/program/Cargo.toml index fdb8f1435ee..376a83154c2 100644 --- a/stateless-asks/program/Cargo.toml +++ b/stateless-asks/program/Cargo.toml @@ -11,7 +11,7 @@ no-entrypoint = [] test-sbf = [] [dependencies] -borsh = "0.10" +borsh = "1.1" solana-program = "1.16.3" spl-token = { version = "4.0", path = "../../token/program", features = ["no-entrypoint"] } spl-associated-token-account = {version = "2.0", path = "../../associated-token-account/program", features = ["no-entrypoint"]} diff --git a/token-metadata/interface/Cargo.toml b/token-metadata/interface/Cargo.toml index 45c569d8ff3..6d77f7fcd5e 100644 --- a/token-metadata/interface/Cargo.toml +++ b/token-metadata/interface/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0" edition = "2021" [dependencies] -borsh = "0.10" +borsh = "1.1" solana-program = "1.16.3" spl-discriminator = { version = "0.1.0" , path = "../../libraries/discriminator" } spl-program-error = { version = "0.2.0" , path = "../../libraries/program-error" } diff --git a/token/program-2022-test/Cargo.toml b/token/program-2022-test/Cargo.toml index 64d6fbdb251..8044232e48c 100644 --- a/token/program-2022-test/Cargo.toml +++ b/token/program-2022-test/Cargo.toml @@ -18,7 +18,7 @@ walkdir = "2" [dev-dependencies] async-trait = "0.1" -borsh = "0.10" +borsh = "1.1" futures-util = "0.3" solana-program = "=1.16.3" solana-program-test = "=1.16.3"