From fde00661c15413b8b3ad629db83cae471ddba680 Mon Sep 17 00:00:00 2001 From: acheron <98934430+acheroncrypto@users.noreply.github.com> Date: Sun, 4 Feb 2024 12:46:25 +0100 Subject: [PATCH] spl: Pin version of `toml_edit` crate to 0.21.0 (#2807) --- Cargo.lock | 20 ++++++++++++++++---- spl/Cargo.toml | 3 +++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 48db23164c..1b49a4f819 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -295,6 +295,7 @@ dependencies = [ "spl-memo", "spl-token 4.0.0", "spl-token-2022", + "toml_edit 0.21.0", ] [[package]] @@ -2982,7 +2983,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ "once_cell", - "toml_edit", + "toml_edit 0.19.15", ] [[package]] @@ -5105,14 +5106,14 @@ dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.19.15", ] [[package]] name = "toml_datetime" -version = "0.6.3" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] @@ -5130,6 +5131,17 @@ dependencies = [ "winnow", ] +[[package]] +name = "toml_edit" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +dependencies = [ + "indexmap 2.0.2", + "toml_datetime", + "winnow", +] + [[package]] name = "tower-service" version = "0.3.2" diff --git a/spl/Cargo.toml b/spl/Cargo.toml index 62d7b02722..0e80cd6454 100644 --- a/spl/Cargo.toml +++ b/spl/Cargo.toml @@ -36,3 +36,6 @@ spl-memo = { version = "4", features = ["no-entrypoint"], optional = true } spl-token = { version = "4", features = ["no-entrypoint"], optional = true } spl-token-2022 = { version = "0.9", features = ["no-entrypoint"], optional = true } +# TODO: Remove after https://github.com/coral-xyz/anchor/pull/2795 is merged. +# `toml_edit 0.21.1` has MSRV of `1.69.0` which is above `1.68.0` that comes from `solana-cli 1.17`. +toml_edit = "=0.21.0"