Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. [package]
  2. name = "anchor-spl"
  3. version = "0.27.0"
  4. authors = ["Anchor Maintainers <accounts@200ms.io>"]
  5. rust-version = "1.60"
  6. edition = "2021"
  7. license = "Apache-2.0"
  8. description = "CPI clients for SPL programs"
  9. [features]
  10. default = ["mint", "token", "token_2022", "associated_token"]
  11. mint = []
  12. token = ["spl-token"]
  13. token_2022 = ["spl-token-2022"]
  14. associated_token = ["spl-associated-token-account"]
  15. governance = []
  16. shmem = []
  17. stake = ["borsh"]
  18. devnet = []
  19. metadata = ["mpl-token-metadata"]
  20. dex = ["serum_dex"]
  21. [dependencies]
  22. anchor-lang = { path = "../lang", version = "0.27.0", features = ["derive"] }
  23. borsh = { version = "<0.11.0", optional = true }
  24. serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
  25. solana-program = "<1.17.0"
  26. spl-token = { version = "3.5.0", features = ["no-entrypoint"], optional = true }
  27. spl-token-2022 = { version = "0.6.1", features = ["no-entrypoint"], optional = true }
  28. spl-associated-token-account = { version = "1.1.1", features = ["no-entrypoint"], optional = true }
  29. mpl-token-metadata = { version = "^1.11.0", optional = true, features = ["no-entrypoint"] }