From e9c2a575415d2452ee19f98203974affec6dbe29 Mon Sep 17 00:00:00 2001 From: Kirill Fomichev Date: Sun, 30 Jan 2022 20:35:00 +0300 Subject: [PATCH] spl: update optional crates (#1376) --- spl/Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spl/Cargo.toml b/spl/Cargo.toml index 0f128a6ac..505664999 100644 --- a/spl/Cargo.toml +++ b/spl/Cargo.toml @@ -9,8 +9,8 @@ description = "CPI clients for SPL programs" [features] default = ["mint", "token", "associated_token"] mint = [] -token = [] -associated_token = [] +token = ["spl-token"] +associated_token = ["spl-associated-token-account"] governance = [] shmem = [] devnet = [] @@ -20,5 +20,5 @@ dex = ["serum_dex"] anchor-lang = { path = "../lang", version = "0.20.1", features = ["derive"] } serum_dex = { git = "https://github.com/project-serum/serum-dex", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true } solana-program = "1.8.5" -spl-token = { version = "3.1.1", features = ["no-entrypoint"] } -spl-associated-token-account = { version = "1.0.3", features = ["no-entrypoint"] } +spl-token = { version = "3.1.1", features = ["no-entrypoint"], optional = true } +spl-associated-token-account = { version = "1.0.3", features = ["no-entrypoint"], optional = true }