Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. [package]
  2. name = "anchor-spl"
  3. version = "0.28.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 = ["associated_token", "mint", "token", "token_2022"]
  11. associated_token = ["spl-associated-token-account"]
  12. dex = ["serum_dex"]
  13. devnet = []
  14. governance = []
  15. metadata = ["mpl-token-metadata"]
  16. mint = []
  17. shmem = []
  18. stake = ["borsh"]
  19. token = ["spl-token"]
  20. token_2022 = ["spl-token-2022"]
  21. [dependencies]
  22. anchor-lang = { path = "../lang", version = "0.28.0", features = ["derive"] }
  23. borsh = { version = ">=0.9, <0.11", optional = true }
  24. mpl-token-metadata = { version = "1.11", optional = true, features = ["no-entrypoint"] }
  25. serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
  26. solana-program = ">=1.14, <1.17"
  27. spl-associated-token-account = { version = "^1.1", features = ["no-entrypoint"], optional = true }
  28. spl-token = { version = "3.5", features = ["no-entrypoint"], optional = true }
  29. spl-token-2022 = { version = "0.6", features = ["no-entrypoint"], optional = true }