Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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. idl-build = ["anchor-lang/idl-build"]
  16. metadata = ["mpl-token-metadata"]
  17. mint = []
  18. shmem = []
  19. stake = ["borsh"]
  20. token = ["spl-token"]
  21. token_2022 = ["spl-token-2022"]
  22. memo = ["spl-memo"]
  23. [dependencies]
  24. anchor-lang = { path = "../lang", version = "0.28.0", features = ["derive"] }
  25. borsh = { version = ">=0.9, <0.11", optional = true }
  26. mpl-token-metadata = { version = "3.1.0", optional = true }
  27. serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
  28. solana-program = ">=1.16, <1.18"
  29. spl-associated-token-account = { version = "2.2", features = ["no-entrypoint"], optional = true }
  30. spl-token = { version = "4", features = ["no-entrypoint"], optional = true }
  31. spl-token-2022 = { version = "0.9", features = ["no-entrypoint"], optional = true }
  32. spl-memo = { version = "4", features = ["no-entrypoint"], optional = true }