Procházet zdrojové kódy

spl: update optional crates (#1376)

Kirill Fomichev před 3 roky
rodič
revize
e9c2a57541
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      spl/Cargo.toml

+ 4 - 4
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 }