|
@@ -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 }
|