From 927d062a518abf358f1552168b215bd275b6d22a Mon Sep 17 00:00:00 2001 From: Fernando Otero Date: Fri, 15 Sep 2023 23:54:55 +0100 Subject: [PATCH] Revert default feature (#1160) --- core/rust/utils/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/rust/utils/Cargo.toml b/core/rust/utils/Cargo.toml index 9def5b045d..37a9279599 100644 --- a/core/rust/utils/Cargo.toml +++ b/core/rust/utils/Cargo.toml @@ -16,10 +16,11 @@ path = "src/lib.rs" [dependencies] arrayref = "0.3.6" solana-program = ">= 1.14.13, < 1.17" -spl-token-2022 = { version = ">= 0.6.0, < 0.9", features = ["no-entrypoint"] } +spl-token-2022 = { version = ">= 0.6.0, < 0.9", features = ["no-entrypoint"], optional = true } [features] -spl-token = [] +spl-token = ["spl-token-2022"] +default = ["spl-token"] [profile.release] overflow-checks = true # Enable integer overflow checks.